is-assemble-partial-exist

0.0.4 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i is-assemble-partial-exist

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • makotot