seed-packfinder

0.0.3 • Public • Published

seed-packfinder Build Status npm version

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).

Package Sidebar

Install

npm i seed-packfinder

Weekly Downloads

339

Version

0.0.3

License

MIT

Last publish

Collaborators

  • itsjonq