0.0.3 • Published 7 years ago

seed-packfinder v0.0.3

Weekly downloads
126
License
MIT
Repository
github
Last release
7 years ago

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