0.0.4 • Published 9 years ago

is-assemble-partial-exist v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

is-assemble-partial-exist

npm version travis dependencies devDependencies License

Check if the assemble partial is found in the partial directories

Install

$ npm i --save is-assemble-partial-exist

Usage

In assemble plugin:

var isPartialExist = require('is-assemble-partial-exist');

module.exports = function (params, cb) {

  isPartialExist(params, 'header', function (err, data) {
    console.log(data);
    // => true

    cb();
  });
};

module.exports.options = {
  stage: 'render:post:pages'
};

License

MIT

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago