{"_id":"helper-license","_rev":"11-a8a90812ae404094e9865dc6411e69c8","name":"helper-license","description":"Template helper for adding a formatted license statement based on the license type in package.json.","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"helper-license","description":"Template helper for dynamically generating a basic, one-line license statement based on the given context, e.g. `Released under the MIT license`. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to ","version":"0.1.0","homepage":"https://github.com/jonschlinkert/helper-license","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/helper-license.git"},"bugs":{"url":"https://github.com/jonschlinkert/helper-license/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/helper-license/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"lodash":"^2.4.1","markdown-utils":"^0.1.0"},"devDependencies":{"handlebars":"^2.0.0","should":"^4.2.1"},"_id":"helper-license@0.1.0","_shasum":"1aa0a75d5d66e54436d4a571d2989657250ba887","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1aa0a75d5d66e54436d4a571d2989657250ba887","tarball":"https://registry.npmjs.org/helper-license/-/helper-license-0.1.0.tgz","integrity":"sha512-vPupMA7zjcq6NfH5zPrASL8VNTAFanwQuBqMFqZsvWQ/BarPtIUVcyQ0OFPfyY228299/NiAT3Qs4bWO2/m8Wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt6DUtJjhKWxfnEsSnv1QXOat6ElwX5fihh/h/B1Xd6wIhAOT5Q8xge3BZc9YqUYB/R9w3fto4o9VFILzYjsW11mPP"}]}},"0.1.2":{"name":"helper-license","description":"Template helper for dynamically generating a basic, one-line license statement based on the given context, e.g. `Released under the MIT license`. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to ","version":"0.1.2","homepage":"https://github.com/jonschlinkert/helper-license","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/helper-license.git"},"bugs":{"url":"https://github.com/jonschlinkert/helper-license/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/helper-license/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"lodash":"^2.4.1","markdown-utils":"^0.1.0"},"devDependencies":{"handlebars":"^2.0.0","should":"^4.2.1"},"_id":"helper-license@0.1.2","_shasum":"6746cc511cf03a14daf966ec9f043380373b5240","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6746cc511cf03a14daf966ec9f043380373b5240","tarball":"https://registry.npmjs.org/helper-license/-/helper-license-0.1.2.tgz","integrity":"sha512-MxyaY3r+qZjApXDPPivLmwUg9Unc0PDBOt66udcDqyPQU+XZCBbl7agV93UCXAtGrJtLfEcBNM93IgTnP22SKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8W9YjyVJltoCe1Bt3mSZRYN2gNswQe4Sf2mtwJDDJlAiEAyJc8dFbTrfOssNGkAnA3d753fc37Darjk4xsKNNGbe4="}]}},"0.1.3":{"name":"helper-license","description":"Template helper for dynamically generating a basic, one-line license statement based on the given context, e.g. `Released under the MIT license`. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to ","version":"0.1.3","homepage":"https://github.com/helpers/helper-license","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/helpers/helper-license.git"},"bugs":{"url":"https://github.com/helpers/helper-license/issues"},"licenses":[{"type":"MIT","url":"https://github.com/helpers/helper-license/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"lodash":"^2.4.1","markdown-utils":"^0.1.0"},"devDependencies":{"handlebars":"^2.0.0","should":"^4.2.1"},"_id":"helper-license@0.1.3","_shasum":"fda1c90548571d2529f2559e381d1b1d9ec9653d","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"fda1c90548571d2529f2559e381d1b1d9ec9653d","tarball":"https://registry.npmjs.org/helper-license/-/helper-license-0.1.3.tgz","integrity":"sha512-GBfM8ecnqeNR0cxtvIP3wvNfViKfdok6QIhgHQTJPph64Be+Hoi2Jn/l2q37prg5Nn4kb3Pbrj8r99JmOQtioA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6WaMtpvXvuf1ubBNpTWkSnJtX+pCDPKrGd1+YKqM9RQIhAOcoQwlwRfxYqt8ljU3XRehMg0QT4T1/CkkFqh46Dqvs"}]}},"0.2.0":{"name":"helper-license","description":"Template helper for dynamically generating a basic, one-line license statement based on the given context, e.g. `Released under the MIT license`. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to ","version":"0.2.0","homepage":"https://github.com/helpers/helper-license","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/helpers/helper-license.git"},"bugs":{"url":"https://github.com/helpers/helper-license/issues"},"license":{"type":"MIT","url":"https://github.com/helpers/helper-license/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-pluck":"^0.1.0","markdown-utils":"^0.6.0","mixin-deep":"^1.0.1"},"devDependencies":{"handlebars":"^2.0.0","lodash":"^3.7.0","should":"^4.2.1"},"gitHead":"f7450f2887a165f1edd4770f045dbb787a7e13b7","_id":"helper-license@0.2.0","_shasum":"1711688dda27d44346ef3244de1bee3ce71ec8c1","_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":"1711688dda27d44346ef3244de1bee3ce71ec8c1","tarball":"https://registry.npmjs.org/helper-license/-/helper-license-0.2.0.tgz","integrity":"sha512-9p02LDzPJYw3XY/he/MSt+fAxfvkfaJ1SNAvgKnHd0t76NtodkHShxqNq5zT7lb+ycR2cq5vm7PrNu2jaYMg0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmfoo6h8ueITE8T0QrQmfazE620reDKZzlvZec2On5kAIgPLntf4hkkjb0sElkOh2BO4qNkFmMjYQ5cE2CVxhqXvI="}]}},"0.2.1":{"name":"helper-license","description":"Template helper for dynamically generating a basic, one-line license statement based on the given context, e.g. `Released under the MIT license`. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to ","version":"0.2.1","homepage":"https://github.com/helpers/helper-license","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/helpers/helper-license.git"},"bugs":{"url":"https://github.com/helpers/helper-license/issues"},"license":{"type":"MIT","url":"https://github.com/helpers/helper-license/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-pluck":"^0.1.0","markdown-utils":"^0.6.0","mixin-deep":"^1.0.1"},"devDependencies":{"handlebars":"^2.0.0","lodash":"^3.7.0","should":"^4.2.1"},"gitHead":"71bc960cc7ba7b07ea59c8c8fa3a64b6819f12bf","_id":"helper-license@0.2.1","_shasum":"7867672555608f0900d9b02b69921a9bc4d492f1","_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":"7867672555608f0900d9b02b69921a9bc4d492f1","tarball":"https://registry.npmjs.org/helper-license/-/helper-license-0.2.1.tgz","integrity":"sha512-vBbYMefRuXcpD8RxA7gO7Ma02i4q8nlFYEKOZ/A230cKzhxuGJbog4JIAvamZfUKSegifX2j1WlkXv7vgrs4Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHG/tJfXlBN5jP/JCS0rufLFe1t2Z67a/krV3C/nP8OiAiBaBz5v1UePtV1dYB5vFGkYPjDX+nX1pdXshAwW/IXLOw=="}]}},"0.3.0":{"name":"helper-license","description":"Template helper for adding a formatted license statement based on the license type in package.json.","version":"0.3.0","homepage":"https://github.com/helpers/helper-license","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/helpers/helper-license.git"},"bugs":{"url":"https://github.com/helpers/helper-license/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"^2.3.3"},"keywords":["helper","license"],"verb":{"related":{"description":"","list":["helper-related","helper-reflinks","template-helpers","handlebars-helpers"]}},"gitHead":"413a783aaf1c7953bed71edb139e4805d9de5961","_id":"helper-license@0.3.0","_shasum":"4aa522ab9ec646908a10b180eed1cc3276c170ef","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4aa522ab9ec646908a10b180eed1cc3276c170ef","tarball":"https://registry.npmjs.org/helper-license/-/helper-license-0.3.0.tgz","integrity":"sha512-3ijclgniUdnW8QAIH/E27NeaBmz55plAIedqkFQLwAGqkHmDSGG8umAO/vR9Sl13JKCqNWU0H6i8OJRGkePu0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtz7Z0CiwfCWltEnya9cwt+dFtKFLkpRiLM2ZrgTxX3AiEA58r7SUf+o4F0XKr+l42uyHrbFBRJvwRtDNeRhQ+ZmAk="}]}}},"readme":"# helper-license [![NPM version](https://badge.fury.io/js/helper-license.svg)](http://badge.fury.io/js/helper-license)  [![Build Status](https://travis-ci.org/helpers/helper-license.svg)](https://travis-ci.org/helpers/helper-license)\n\n> Template helper for adding a formatted license statement based on the license type in package.json.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i helper-license --save\n```\n\n## Usage\n\n```js\nvar license = require('helper-license');\nvar pkg = require('./package');\nlicense(pkg);\n//=> 'Released under the MIT License.'\n```\n\nThe following example shows how to register the helper with [verb](https://github.com/verbose/verb), but it should work similarly with handlebars, lodash or any other template engine.\n\n```js\nvar license = require('helper-license');\nvar verb = require('verb');\nvar app = verb();\n\napp.helper('license', function(type) {\n  // handle these settings however you want...\n  return license({type: type}, {linkify: true});\n});\n\n// USAGE:\n//  <%= license(\"MIT\") %>\n```\n\n## Options\n\n**options.linkify**\n\nPass `linkify: true` to add a markdown link to the license file:\n\n```js\nlicense(pkg, {linkify: true});\n//=> 'Released under the [MIT License](./LICENSE).'\n```\n\n**options.filepath**\n\n```js\nlicense(pkg, {linkify: true, filepath: 'foo'});\n//=> 'Released under the [MIT License](foo).'\n```\n\n## Related projects\n\n* [handlebars-helpers](https://www.npmjs.com/package/handlebars-helpers): 120+ Handlebars helpers in ~20 categories, for Assemble, YUI, Ghost or any Handlebars project. Includes… [more](https://www.npmjs.com/package/handlebars-helpers) | [homepage](https://github.com/assemble/handlebars-helpers)\n* [helper-reflinks](https://www.npmjs.com/package/helper-reflinks): Template helper for generating a list of markdown formatted reference links to github repos for… [more](https://www.npmjs.com/package/helper-reflinks) | [homepage](https://github.com/helpers/helper-reflinks)\n* [helper-related](https://www.npmjs.com/package/helper-related): Template helper for generating a list of links to the homepages of related GitHub/npm projects. | [homepage](https://github.com/helpers/helper-related)\n* [template-helpers](https://www.npmjs.com/package/template-helpers): Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or… [more](https://www.npmjs.com/package/template-helpers) | [homepage](https://github.com/jonschlinkert/template-helpers)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm 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/helpers/helper-license/issues/new).\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 © 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 October 27, 2015._\n\n<!-- reflinks -->","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-18T20:08:01.686Z","created":"2014-11-10T07:31:33.496Z","0.1.0":"2014-11-10T07:31:33.496Z","0.1.2":"2014-11-12T01:17:07.769Z","0.1.3":"2014-11-12T04:05:26.762Z","0.2.0":"2015-04-23T05:57:58.253Z","0.2.1":"2015-04-23T09:07:27.176Z","0.3.0":"2015-10-27T12:44:54.515Z"},"homepage":"https://github.com/helpers/helper-license","repository":{"type":"git","url":"git+https://github.com/helpers/helper-license.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/helpers/helper-license/issues"},"readmeFilename":"README.md","license":"MIT","keywords":["helper","license"]}