A cross platform cat command
npm install cross-cat














bash
npm install cross-cat --global
`
Usage
`bash
cat
`
$3
`bash
cat my_awesome_file.txt
`
Advanced usage
Command | Explanation
--- | ---
cross-cat | For example, in case of PowerShell, ensure that this module is run instead of cat built-in alias to Get-Content
npx cross-cat | To run without installation
cross-cat --help | To get all the available options
$3
`json
"scripts": {
"show:awesome": "cross-cat \"/awesome folder/awesome filename\""
}
`
$3
Currently runs via npx of locally installed package cannot process filenames with spaces correctly due to npm behavior. Workaround:
`bash
node node_modules/cross-cat/src/cross-cat.js
`
#### Spaces support
+
: Working
=
: Non applicable
-`