{"_id":"metalsmith-build-date","_rev":"370982","name":"metalsmith-build-date","description":"A Metalsmith plugin that adds a build date to the metadata.","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"f2prateek","email":"f2prateek@gmail.com"},{"name":"lambtron","email":"andyjiang@gmail.com"},{"name":"segmentio","email":"friends@segment.io"}],"time":{"modified":"2021-07-27T02:36:07.000Z","created":"2014-02-07T17:42:09.946Z","0.2.0":"2015-12-18T00:49:47.925Z","0.1.0":"2014-03-07T18:56:28.316Z","0.0.1":"2014-02-07T17:42:09.946Z"},"users":{},"repository":{"type":"git","url":"git://github.com/segmentio/metalsmith-build-date.git"},"versions":{"0.2.0":{"name":"metalsmith-build-date","description":"A Metalsmith plugin that adds a build date to the metadata.","repository":{"type":"git","url":"git://github.com/segmentio/metalsmith-build-date.git"},"version":"0.2.0","license":"MIT","main":"lib/index.js","devDependencies":{"mocha":"1.x","metalsmith":"0.x"},"gitHead":"473ad71409e60dc117ee498bfde53540aad9e975","bugs":{"url":"https://github.com/segmentio/metalsmith-build-date/issues"},"homepage":"https://github.com/segmentio/metalsmith-build-date","_id":"metalsmith-build-date@0.2.0","scripts":{},"_shasum":"a46e76637ef42358bf5261b65fabd11bc6473169","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lambtron","email":"andyjiang@gmail.com"},"dist":{"shasum":"a46e76637ef42358bf5261b65fabd11bc6473169","size":1538,"noattachment":false,"key":"/metalsmith-build-date/-/metalsmith-build-date-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/metalsmith-build-date/download/metalsmith-build-date-0.2.0.tgz"},"maintainers":[{"name":"f2prateek","email":"f2prateek@gmail.com"},{"name":"lambtron","email":"andyjiang@gmail.com"},{"name":"segmentio","email":"friends@segment.io"}],"directories":{},"publish_time":1450399787925,"_cnpm_publish_time":1450399787925,"_hasShrinkwrap":false},"0.1.0":{"name":"metalsmith-build-date","description":"A Metalsmith plugin that adds a build date to the metadata.","repository":{"type":"git","url":"git://github.com/segmentio/metalsmith-build-date.git"},"version":"0.1.0","license":"MIT","main":"lib/index.js","devDependencies":{"mocha":"1.x","metalsmith":"0.x"},"bugs":{"url":"https://github.com/segmentio/metalsmith-build-date/issues"},"homepage":"https://github.com/segmentio/metalsmith-build-date","_id":"metalsmith-build-date@0.1.0","dist":{"shasum":"3d5149d4bfea12b89a3282736ccaf51df127fe6d","size":1355,"noattachment":false,"key":"/metalsmith-build-date/-/metalsmith-build-date-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/metalsmith-build-date/download/metalsmith-build-date-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"f2prateek","email":"f2prateek@gmail.com"},{"name":"lambtron","email":"andyjiang@gmail.com"},{"name":"segmentio","email":"friends@segment.io"}],"directories":{},"publish_time":1394218588316,"_cnpm_publish_time":1394218588316,"_hasShrinkwrap":false},"0.0.1":{"name":"metalsmith-build-date","description":"A Metalsmith plugin that adds a build date to the metadata.","repository":{"type":"git","url":"git://github.com/segmentio/metalsmith-build-date.git"},"version":"0.0.1","license":"MIT","main":"lib/index.js","devDependencies":{"mocha":"1.x","metalsmith":"0.x"},"bugs":{"url":"https://github.com/segmentio/metalsmith-build-date/issues"},"homepage":"https://github.com/segmentio/metalsmith-build-date","_id":"metalsmith-build-date@0.0.1","dist":{"shasum":"9e080a64bbecc61278ad7e52be32218f42a28c43","size":1330,"noattachment":false,"key":"/metalsmith-build-date/-/metalsmith-build-date-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/metalsmith-build-date/download/metalsmith-build-date-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.26","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"f2prateek","email":"f2prateek@gmail.com"},{"name":"lambtron","email":"andyjiang@gmail.com"},{"name":"segmentio","email":"friends@segment.io"}],"directories":{},"publish_time":1391794929946,"_cnpm_publish_time":1391794929946,"_hasShrinkwrap":false}},"readme":"\n# metalsmith-build-date\n\n  A Metalsmith plugin that adds a build date to the metadata. Useful for `atom.xml` or other feeds.\n\n## Installation\n\n    $ npm install metalsmith-build-date\n\n## Usage\n\n```js\nvar date = require('metalsmith-build-date');\n\nmetalsmith.use(date());\n```\n\n  That will add a global `date` property to your metadata, so you can use it in a template like:\n\n```handlebars\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<feed xmlns=\"http://www.w3.org/2005/Atom\">\n  <updated>{{ date }}</updated>\n```\n\n## Options\n\n### key <string>\n\nChange the key from the default value of 'date' to whatever you want.\nUseful if you already have a date in your frontmatter for the file, or if\nyou want to be more specific about what the date represents.\n\nExample:\n\n```js\nmetalsmith.use(date({ key: 'dateBuilt' ));\n```\n\n## CLI Usage\n\n  Install via npm and then add the `metalsmith-build-date` key to your `metalsmith.json`:\n\n```json\n{\n  \"plugins\": {\n    \"metalsmith-build-date\": true\n  }\n}\n```\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/segmentio/metalsmith-build-date","bugs":{"url":"https://github.com/segmentio/metalsmith-build-date/issues"},"license":"MIT"}