{"name":"helper-copyright","description":"Template helper for adding a basic, one-line copyright statement, with formatting appropriate for LICENSE/LICENSE-MIT or README templates. Used with Verb, but should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper ","version":"2.0.0","homepage":"https://github.com/helpers/helper-copyright","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/helpers/helper-copyright.git"},"bugs":{"url":"https://github.com/helpers/helper-copyright/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"lazy-cache":"^0.2.4","markdown-link":"^0.1.1","mixin-deep":"^1.1.3"},"devDependencies":{"engine":"^0.1.8","handlebars":"^4.0.4","mocha":"^2.3.4"},"keywords":["assemble","handlebars","helper","lodash","template","verb"],"verb":{"related":{"list":["verb","helper-related","helper-reflinks","helper-license"]}},"gitHead":"81972cab7e4fa41faded545ef5ebcd9c4c8f2dac","_id":"helper-copyright@2.0.0","_shasum":"b03dbe1db20de0ab14bc73b2de3dcd362229c236","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b03dbe1db20de0ab14bc73b2de3dcd362229c236","tarball":"http://registry-npm.ywwl.com/helper-copyright/download/helper-copyright-2.0.0.tgz","integrity":"sha512-ZNP5ms1y/NdbDX3+Df0EHJP9gTzAQ6ZwVjwr7yQy0+8dGOTGHFJeFVlodB4vxCXons1ULZjzDchfNsPcR5KtPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFn4lEwMqIoAnQIMENbALDHCj+gqtX91H3dVDTBQTIg2AiAey4p+A1qjnqk12xlsEBU2AlxRxsgp3gb1F3vXnHWmtg=="}],"size":3508,"noattachment":false,"key":"/helper-copyright/-/helper-copyright-2.0.0.tgz"},"directories":{},"readme":"# helper-copyright [![NPM version](https://img.shields.io/npm/v/helper-copyright.svg?style=flat)](https://www.npmjs.com/package/helper-copyright) [![NPM monthly downloads](https://img.shields.io/npm/dm/helper-copyright.svg?style=flat)](https://npmjs.org/package/helper-copyright)  [![NPM total downloads](https://img.shields.io/npm/dt/helper-copyright.svg?style=flat)](https://npmjs.org/package/helper-copyright) [![Linux Build Status](https://img.shields.io/travis/helpers/helper-copyright.svg?style=flat&label=Travis)](https://travis-ci.org/helpers/helper-copyright)\n\n> Template helper for adding a basic, one-line copyright statement, with formatting appropriate for LICENSE/LICENSE-MIT or README templates. Used with Verb, but should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to be registered.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save helper-copyright\n```\n\n## Usage\n\n```js\nvar copyright = require('helper-copyright');\nvar handlebars = require('handlebars');\n\n// the top-level export is a function that must be called, so you \n// can optionally pass an options object when registering the helper\nhandlebars.registerHelper('copyright', copyright({linkify: true}));\n```\n\n## Example\n\nAdd a copyright statement, with author and year(s) in effect (verb templates):\n\n```js\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\n//=> Copyright (c) 2017 Jon Schlinkert\n\nCopyright © 2014, 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\n//=> Copyright (c) 2014-2017 Jon Schlinkert\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\n//=> Copyright (c) 2017 [Jon Schlinkert](https://github.com/jonschlinkert)\n```\n\n## Examples\n\n> This should work with any engine, here are a few examples\n\nGiven the following locals:\n\n```js\nvar locals = {author: {name: 'Jon Schlinkert', url: 'https://github.com/jonschlinkert'}};\n```\n\n### [Lo-Dash](https://github.com/jonschlinkert/template)\n\nAs a helper:\n\n```js\n_.template('<%= copyright({author: author}) %>', locals, {\n  imports: {'helper-copyright': require('helper-copyright')}\n});\n//=> Copyright (c) 2017 Jon Schlinkert\n```\n\nAs a mixin:\n\n```js\n_.mixin({'helper-copyright': require('helper-copyright')});\n_.template('<%= copyright({author: author}) %>', locals);\n//=> Copyright (c) 2017 Jon Schlinkert\n```\n\n### [template](https://github.com/jonschlinkert/template)\n\n```js\ntemplate.helper('helper-copyright', require('helper-copyright'));\ntemplate.render('<%= copyright() %>', function(err, content) {\n  console.log(content);\n  //=> Copyright (c) 2017 Jon Schlinkert'\n});\n```\n\n### [assemble](https://github.com/assemble/assemble)\n\n```js\nassemble.helper('helper-copyright', require('helper-copyright'));\nassemble.render('{{copyright this}}', function(err, content) {\n  console.log(content);\n  //=> Copyright (c) 2017 Jon Schlinkert'\n});\n```\n\n### [verb](https://github.com/jonschlinkert/verb)\n\n```js\nverb.helper('helper-copyright', require('helper-copyright'));\nverb.render('Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).', function(err, content) {\n  console.log(content);\n  //=> Copyright (c) 2017 Jon Schlinkert'\n});\n```\n\n### [handlebars](https://github.com/wycats/handlebars.js/)\n\n```js\nvar handlebars = require('handlebars');\nhandlebars.registerHelper('helper-copyright', require('helper-copyright'));\nhandlebars.compile('{{copyright this}}')(locals);\n//=> Copyright (c) 2017 Jon Schlinkert\n```\n\n## About\n\n### Related projects\n\n* [helper-license](https://www.npmjs.com/package/helper-license): Template helper for adding a formatted license statement based on the license type in package.json. | [homepage](https://github.com/helpers/helper-license)\n* [helper-reflinks](https://www.npmjs.com/package/helper-reflinks): Async template helper for generating a list of markdown reference links. | [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* [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://github.com/verbose/verb) | [homepage](https://github.com/verbose/verb)\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 53 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 1  | [ierceg](https://github.com/ierceg) |  \n| 1  | [mightyiam](https://github.com/mightyiam) |\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\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 © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.3.0, on January 08, 2017._","publish_time":1447789688738,"_cnpm_publish_time":1447789688738,"dist-tags":{"latest":"2.1.2"}}