irish-pub
Feel like npm is drunk or maybe you are and want to verify what gets published via npm publish
? irish-pub has you covered.
➝ irish-pub npm will publish irish-pub@1.0.0 as thlorenz, including the following files: package.json.npmignoreREADME.mdLICENSEindex.js.travis.ymlbin/irish-pub.jstest/index.jstest/foo/package.jsontest/foo/.npmignoretest/foo/index.jstest/foo/example/first.jstest/foo/lib/work.js
Installation
npm install -g irish-pub
API
-
irishPub(root) → {ReadableStream}
-
Invokes
npm pack
to determine what would be included duringnpm publish
.Parameters:
Name Type Description root
string path to package to publish, defaults to
cwd
Returns:
stream that emits all files with paths relative to
root
that will be packed via thedata
event- Type
- ReadableStream
generated with docme
License
MIT