Thanks to visit codestin.com
Credit goes to socket.dev

Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

fstream-npm

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fstream-npm

fstream class for creating npm packages

latest
Source
Codestin Search Appnpm
Version
1.2.1
Version published
Weekly downloads
70K
34.67%
Maintainers
4
Weekly downloads
 
Created
Source

fstream-npm

This is an fstream DirReader class that will read a directory and filter things according to the semantics of what goes in an npm package.

For example:

// This will print out all the files that would be included
// by 'npm publish' or 'npm install' of this directory.

var FN = require("fstream-npm")
FN({ path: "./" })
  .on("child", function (e) {
    console.error(e.path.substr(e.root.path.length + 1))
  })

FAQs

Package last updated on 13 May 2017

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