Cross-platform cat command.
A JavaScript package, behaving exactly as Linux cat command, supporting all the options such as line numbering. Written in TypeScript natively.
npm install cross-cat --global
cat <filename>
cat my_awesome_file.txt
Command | Explanation |
---|---|
cross-cat <filename> |
For example, in case of PowerShell, ensure that this module is run instead of cat built-in alias to Get-Content |
npx cross-cat <filename> |
To run without installation, although npm information would be displayed as well |
cat --help |
To get all the available options |