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

/seed-packfinder/

    Package Sidebar

    Install

    npm i seed-packfinder

    Weekly Downloads

    321

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • itsjonq