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

cat-tail

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cat-tail

Get a readable stream spanning an array of files

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

cat-tail

Get a readable stream spanning an array of files from a given position

Installation

npm install cat-tail

API

var CatTail = require("cat-tail")

Constructor new CatTail(files, [options])

Instantiates a new CatTail object, which is a Readable stream object. It will immediately open the files in the given files array, reading them in order and pushing them into the stream. The options argument takes the standard properties for readable streams, plus the following:

  • start: Starting byte offset to begin reading from in the first file.
  • end: Byte position in the last file where reading should stop.

Contributing

Patches are welcome! This module uses ES2015. To compile the source, use npm run compile. All changes need test coverage. To run the tests, use npm test.

Keywords

FAQs

Package last updated on 18 Aug 2015

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