{"_id":"base-loader","_rev":"95682","name":"base-loader","description":"Base loader for Template-based applications.","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:31:55.000Z","created":"2015-05-01T05:38:35.531Z","0.1.0":"2015-05-01T05:38:35.531Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/base-loader.git"},"versions":{"0.1.0":{"name":"base-loader","description":"Base loader for Template-based applications.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/base-loader","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/base-loader.git"},"bugs":{"url":"https://github.com/jonschlinkert/base-loader/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/base-loader/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"map-files":"^0.7.4","relative":"^3.0.0"},"devDependencies":{"mocha":"*","should":"*","template":"^0.13.1"},"keywords":["base","file","files","loader","template"],"_id":"base-loader@0.1.0","_shasum":"d9237e506582bb5e475db7536580741d3c7e537c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d9237e506582bb5e475db7536580741d3c7e537c","size":2355,"noattachment":false,"key":"/base-loader/-/base-loader-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-loader/download/base-loader-0.1.0.tgz"},"directories":{},"publish_time":1430458715531,"_cnpm_publish_time":1430458715531,"_hasShrinkwrap":false}},"readme":"# base-loader [![NPM version](https://badge.fury.io/js/base-loader.svg)](http://badge.fury.io/js/base-loader)\n\n> Base loader for Template-based applications.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i base-loader --save\n```\n\n## Usage\n\n```js\nvar loader = require('base-loader');\n\nvar App = require('template');\nvar app = new App();\napp.loader('base', [loader]);\n```\n\nNow you can use the loader to load templates for custom template types.\n\n```js\n// create the custom type, and assign the loader\napp.create('post', 'posts', ['base']);\n\n// load some templates!\napp.posts('*.md');\n```\n\n## Related projects\n\n[template](https://github.com/jonschlinkert/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://github.com/jonschlinkert/template)\n\n## Running tests\n\nInstall dev dependencies:\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/base-loader/issues)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright (c) 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 01, 2015._\n\n<!-- reflinks generated by verb-reflinks plugin -->\n","_attachments":{},"homepage":"https://github.com/jonschlinkert/base-loader","bugs":{"url":"https://github.com/jonschlinkert/base-loader/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/base-loader/blob/master/LICENSE"}}