Skip to content

cpuabuse/cross-cat

Repository files navigation

Build Tests Code quality Coverage Release date Docs License Testing Node NPM Minified size Style Chat commander get-stdin

cross-cat

Cross-platform cat command.

About

A JavaScript package, behaving exactly as Linux cat command, supporting all the options such as line numbering. Written in TypeScript natively.

Prerequisites

Installation

npm install cross-cat --global

Usage

cat <filename>

Example

cat my_awesome_file.txt

Advanced usage

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