{"_id":"strings-parser-date","_rev":"111936","name":"strings-parser-date","description":"Parser for strings to handle date parsing.","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"time":{"modified":"2021-06-03T10:43:52.000Z","created":"2014-05-16T03:15:31.675Z","0.1.1":"2015-07-09T21:17:00.643Z","0.1.0":"2014-05-16T03:15:31.675Z"},"users":{},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/assemble/strings-parser-date.git"},"versions":{"0.1.1":{"name":"strings-parser-date","description":"Parser for strings to handle date parsing.","version":"0.1.1","homepage":"https://github.com/assemble/strings-parser-date","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/assemble/strings-parser-date.git"},"bugs":{"url":"https://github.com/assemble/strings-parser-date/issues"},"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings-parser-date/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"chai":"~1.9.1","mocha":"~1.18.2","strings":"0.3.1","strings-parser-path":"0.1.2"},"dependencies":{"lodash":"^2.4.1","moment":"^2.6.0"},"gitHead":"5bfeadaa1911a87bf85a0e4462e25f7dfedf78f0","_id":"strings-parser-date@0.1.1","_shasum":"561f22533890403b574fe70e11f8ed6778dc0f89","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"561f22533890403b574fe70e11f8ed6778dc0f89","size":4006,"noattachment":false,"key":"/strings-parser-date/-/strings-parser-date-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings-parser-date/download/strings-parser-date-0.1.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1436476620643,"_cnpm_publish_time":1436476620643,"_hasShrinkwrap":false},"0.1.0":{"name":"strings-parser-date","description":"Parser for strings to handle date parsing.","version":"0.1.0","homepage":"https://github.com/assemble/strings-parser-date","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/assemble/strings-parser-date.git"},"bugs":{"url":"https://github.com/assemble/strings-parser-date/issues"},"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings-parser-date/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.0","chai":"~1.9.1","mocha":"~1.18.2","strings":"git://github.com/assemble/strings#v0.3.0","strings-parser-path":"^0.1.2"},"dependencies":{"moment":"^2.6.0","lodash":"^2.4.1"},"_id":"strings-parser-date@0.1.0","dist":{"shasum":"4f74c478f0948f5d5b1e0a91417dd446fc31112f","size":4019,"noattachment":false,"key":"/strings-parser-date/-/strings-parser-date-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings-parser-date/download/strings-parser-date-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"directories":{},"publish_time":1400210131675,"_cnpm_publish_time":1400210131675,"_hasShrinkwrap":false}},"readme":"# strings-parser-date [![NPM version](https://badge.fury.io/js/strings-parser-date.png)](http://badge.fury.io/js/strings-parser-date)\n\n> Parser for strings to handle date parsing.\n\n## Install\nInstall with [npm](npmjs.org):\n\n```bash\nnpm i strings-parser-date --save\n``` \n\n## Usage\nAdd as a `strings` parser:\n\n```js\nvar Strings = require('strings');\nvar date = require('strings-parser-date');\n\nvar strings = new Strings();\nstrings.parser('date', date());\n\nvar context = {\n  date: '2014-MAY-15'\n};\nvar template = ':YYYY';\nvar str = strings.template(template, 'date', context);\n\n// expected: '2014'\nconsole.log(str);\n```\n\n## Author\n\n**Brian Woodward**\n\n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb)\n\n\n## License\nCopyright (c) 2014 Brian Woodward, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 15, 2014._\n","_attachments":{},"homepage":"https://github.com/assemble/strings-parser-date","bugs":{"url":"https://github.com/assemble/strings-parser-date/issues"}}