seed-packfinder
v0.0.3
Published
Node utility to find seed packs
Downloads
1,696
Maintainers
Readme
seed-packfinder
Node utility to find seed packs!
Install
npm install seed-packfinder --save-dev
Basic Usage
var packfinder = require('seed-packfinder');
var seedpacks = packfinder.find();
if (seedpacks) {
console.log('Yay! We have seed packs');
seedpacks.forEach(function(pack) {
// Do stuff with the pack :)
});
}
Options
packfinder.find()
Returns: Array
(false
if no packs are found)
This returns an array
of seed pack names (string
).
packfinder.findPaths()
Returns: Array
(false
if no packs are found)
This returns an array
of seed pack paths (string
).