New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

co-scat

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co-scat

slow cat use co

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

co-scat

slow cat your files or raw string to stdout

Install

npm install co-scat

Help

scat -h

  Usage: scat [options]

  Options:

    -h, --help       output usage information
    -V, --version    output the version number
    -s, --sps <sps>  strings per second

  Report bugs to <jeremial90@gmail.com>

CLI

% scat -s 20 a.txt b.txt

Node.js

When use scat as cli, there's no need to install co, but when use scat as dependence, you should install co by your self

var scat = require('co-scat')
    , scatFile = scat.scatFile
    , scatString = scat.scatString
    , co = require('co')
    ;

// slow cat file
co(scatFile)('a.txt', 20);

// or slow cat raw string
co(scatString)('raw string to output', 10);

// or use in other functions
co(function *(){
    yield scatFile('../index.js', 30);
})();

License

MIT

Keywords

FAQs

Package last updated on 15 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc