Name: npm-tarball-globber
Owner: nice-registry
Description: null
Created: 2014-09-30 05:58:52.0
Updated: 2017-08-21 15:41:45.0
Pushed: 2016-06-13 05:04:57.0
Homepage: null
Size: 4
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Download files within npm packages and load them into memory
Here's what it does:
/tmp
;/tmp
;Download node at nodejs.org and install it, if you haven't already.
install npm-tarball-globber --save
getFiles = require("npm-tarball-globber")
et all the files in the `minimist` package
iles("minimist", function(err, files){
nsole.log(err, Object.keys(files))
se globs to load only the files you need.
ee https://github.com/isaacs/minimatch#usage
iles("npm", "package/html/**/*.html", function(err, files){
nsole.log(err, Object.keys(files))
install
test
MIT
Generated by package-json-to-readme