{"_id":"parser-utils","_rev":"18-59ada4cfdcf25497bce875612df84ea2","name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/parser-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parser-utils/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.1.4","verb":">= 0.2.6","mocha":"*"},"dependencies":{"lodash":"^2.4.1"},"_id":"parser-utils@0.1.0","_shasum":"8df64c11f98757bfe8346ac276bc4030b46f1222","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8df64c11f98757bfe8346ac276bc4030b46f1222","tarball":"https://registry.npmjs.org/parser-utils/-/parser-utils-0.1.0.tgz","integrity":"sha512-e+/qFQ99LyIS9FGSCWAfVAPcaklpt/6HAlTmSDe+zJd35BCH32FqYUl/58rsQRIiizs613AeaJ0DhlblioBnag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrQciDy3wI6/JTArmoJjlsOXo2IxM+7ePIvO8xJOU/fAIhAMjMbBdWr4U8Mx+dTk/AdKGdo62eAFXlNOTksUN8ohes"}]}},"0.1.1":{"name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/parser-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parser-utils/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gray-matter":"^0.4.2","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"dependencies":{"lodash":"^2.4.1"},"_id":"parser-utils@0.1.1","_shasum":"d65a2fea29020cda3815337de9baabe8ace78413","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d65a2fea29020cda3815337de9baabe8ace78413","tarball":"https://registry.npmjs.org/parser-utils/-/parser-utils-0.1.1.tgz","integrity":"sha512-uyO+8oT/Ujdi6rgcplSxXVRLH7+J5H2QLO8XnsfmucBZ9RObmLrUrkcvn87/yhMouevX9/xyr4Wa/sLWmTvujA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbGoEi0D/zmgTi4RxIxzWuRT6NuiD/8AJPDJRcGmh5NgIgJdZBgcxUjvbsCnKKhGIlmjPh+I4Z1MqtOjd0n/pVOyA="}]}},"0.1.2":{"name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/parser-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parser-utils/blob/master/LICENSE-MIT"}],"keywords":["assemble","cache","compile","consolidate","content","data","engine","express","front","gray-matter","matter","noop","parse","parser","parsers","pass-through","process","templates","yaml","util"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gray-matter":"^0.4.2","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"dependencies":{"lodash":"^2.4.1"},"_id":"parser-utils@0.1.2","_shasum":"45c5f6eec944fc421fe4b94c2f6a43291792efd1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"45c5f6eec944fc421fe4b94c2f6a43291792efd1","tarball":"https://registry.npmjs.org/parser-utils/-/parser-utils-0.1.2.tgz","integrity":"sha512-pMM5SeOZXKiucXyA6sfkxQbn21XA9N3ZnLjgdzxHEcjdxXIdHNI5lv4THwULI7fj8EuAeBIuoIoS4EWGUwu0Hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgTc0ccTFHRG7KA21+07S4w03mzsmHv6odELXBTe8TTQIhAJZFXuvvhB8oxQMtMW+t7w8X0l7pT7yHN6y2HZCF9cvC"}]}},"0.2.0":{"name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/parser-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parser-utils/blob/master/LICENSE-MIT"}],"keywords":["assemble","cache","compile","consolidate","content","data","engine","express","front","gray-matter","matter","noop","parse","parser","parsers","pass-through","process","templates","yaml","util"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gray-matter":"^0.4.2","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"dependencies":{"lodash":"^2.4.1"},"_id":"parser-utils@0.2.0","_shasum":"458c494238a6c6856a082965b1b292892b083847","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"458c494238a6c6856a082965b1b292892b083847","tarball":"https://registry.npmjs.org/parser-utils/-/parser-utils-0.2.0.tgz","integrity":"sha512-9eV9Ohgk0MwNt+8tVKEEsW5rWnwxvVSAGxenagiJSIefemx2cyNAn1mWO4Z/Li0hPm4H7UmAlgqk5RggDJu7/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMkEaXl5S2dRn10c7d/siqu53uYS0rqYMKJbJN4YIpGgIhAM5KoctVLWjUzQ2ugu0k/AxI+3vhtWbcxRBIJA4lBhmq"}]}},"0.2.1":{"name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/parser-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parser-utils/blob/master/LICENSE-MIT"}],"keywords":["assemble","cache","compile","consolidate","content","data","engine","express","front","gray-matter","matter","noop","parse","parser","parsers","pass-through","process","templates","yaml","util"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gray-matter":"^0.4.2","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"dependencies":{"lodash":"^2.4.1"},"_id":"parser-utils@0.2.1","_shasum":"aa84fbf6d92295f4d6e40ca9fe767bd30e1003eb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"aa84fbf6d92295f4d6e40ca9fe767bd30e1003eb","tarball":"https://registry.npmjs.org/parser-utils/-/parser-utils-0.2.1.tgz","integrity":"sha512-4ZpOsDt+uQsHKKwC3oyivmOgJ0MosX9CfXaSaYfVdzSHqxnbnYbyuWnu04jZ+0Y5EMurFANYTCH4vMnYYVwYAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoT8nEoYFNBA8AvL8RwZu64a8kr5DYngF2pFiYPrZVHAIgfYuCDGT7vluwGXo1n3w2vmGSlVDjTM52CYanfiGVcY0="}]}},"0.3.0":{"name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/parser-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parser-utils/blob/master/LICENSE-MIT"}],"keywords":["assemble","cache","compile","consolidate","content","data","engine","express","front","gray-matter","matter","noop","parse","parser","parsers","pass-through","process","templates","yaml","util"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gray-matter":"^0.4.2","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":"^0.2.2"},"dependencies":{"lodash":"^2.4.1"},"_id":"parser-utils@0.3.0","_shasum":"fe288682d4c5d030254f8e1a67d4071e7687e4d7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"fe288682d4c5d030254f8e1a67d4071e7687e4d7","tarball":"https://registry.npmjs.org/parser-utils/-/parser-utils-0.3.0.tgz","integrity":"sha512-BgX8ewUlz90stHZhoRlpWluzm5YwpHBjgyqNcmGV4BtwX4fBfUU7jw9ewvgQEBw8vKXPg9iUnbfwf2eBbzwurA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWNvzCNrjorryKo439/a4cqQsISli2ExpddnJ/toabUAiAOIHmogqT6VIxLe/e3eBv8LIzCSOt/UIGGS2lhDzeLrg=="}]}},"0.3.1":{"name":"parser-utils","description":"Utilies for parser-cache and compatible parsers.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/parser-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parser-utils/blob/master/LICENSE-MIT"}],"keywords":["assemble","cache","compile","consolidate","content","data","engine","express","front","gray-matter","matter","noop","parse","parser","parsers","pass-through","process","templates","yaml","util"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gray-matter":"^0.5.0","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":"^0.2.2"},"dependencies":{"lodash":"^2.4.1"},"_id":"parser-utils@0.3.1","_shasum":"6d3d959b672a08f09ffc19ffca9de0cfa8fd0a36","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"6d3d959b672a08f09ffc19ffca9de0cfa8fd0a36","tarball":"https://registry.npmjs.org/parser-utils/-/parser-utils-0.3.1.tgz","integrity":"sha512-m+cSyv6yZa7H2SVf5sPYt7Rh91Ulmwcxd2oxsXFD9McafkIC2R65FO32S/6gWycjWv109AuKum/TRqQKCjkKWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB7b0FyWqye7L5btTdRNxkGCHDmmszuY0NZRzxq9LrkQIhAIm6VHb+3m+JuXzh46ClgJZ+wDD7FEMY0tWfk7fQkltf"}]}}},"readme":"# parser-utils [![NPM version](https://badge.fury.io/js/parser-utils.svg)](http://badge.fury.io/js/parser-utils)\n\n\n> Utilies for parser-cache and compatible parsers.\n\n## Install\n#### Install with [npm](npmjs.org):\n\n```bash\nnpm i parser-utils --save-dev\n```\n\n## Usage\n\n```js\nvar utils = require('parser-utils');\n```\n\n## API\n### [.fileKeys](index.js#L83)\n\n* `returns` **{Array}**: Array of keys.  \n\nGet the array of keys expected on normalized `file` objects.\n\n### [.diffKeys](index.js#L105)\n\nGet an array of keys that should not be on the root of a normalized `file` object.\n\n* `obj` **{Object}**: The object to inspect.    \n* `props` **{Array}**: Array of properties to concat to the output.    \n* `returns` **{Array}**: Array of keys  \n\n**Example:**\n\n```js\nvar utils = require('parser-utils');\nvar file = {a: 'a', b: 'b', path: 'a/b/c.md'};\nconsole.log(utils.diffKeys(file));\n//=> ['a', 'b']\n```\n\n### [.siftKeys](index.js#L126)\n\n* `obj` **{Object}**: The object to normalize.    \n* `props` **{Array}**: Any additional properties to include.    \n* `returns` **{Object}**: Normalized object.  \n\nNormalize the properties on the given `obj`.\n\n### [.mergeData](index.js#L155)\n\n* `obj` **{Object}**: Object with data objects to merge.    \n* `locals` **{Object}**: Optional object of data that should \"win\" over other data.    \n* `merge` **{Function}**: Function to use for merging data.    \n* `returns` **{Object}**: Object with a single `data` property.  \n\nReturn an object composed only of `data` properties. If a `locals` object\nis supplied, properties in that object will override any properties on the\n`data` object. If a `locals` object is defined, and/or if the `locals` object\nhas a nested `locals` property, both will be merged with the `data` property\non the returned object.\n\n### [.flattenObject](index.js#L178)\n\nMerge nested properties into the root of the given object. Nested properties occur when, for instance, and options object - intended as `locals`, is also passed with an actual `locals` property.\n\n* `obj` **{Object}**: The object to flatten.    \n* `key` **{String}**: The property to merge onto the root of the object.    \n* `merge` **{Function}**: Function to use for merging data.    \n* `returns` **{Object}**: Object with `locals` merged into the root.  \n\n**Note** that this will only merge properties one level deep.\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\nCopyright (c) 2014 Jon Schlinkert, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 01, 2014._","maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"time":{"modified":"2022-06-23T11:30:19.969Z","created":"2014-08-24T23:31:33.350Z","0.1.0":"2014-08-24T23:31:33.350Z","0.1.1":"2014-08-25T20:28:19.890Z","0.1.2":"2014-08-26T23:57:04.187Z","0.2.0":"2014-08-27T05:45:48.752Z","0.2.1":"2014-09-01T18:30:18.998Z","0.3.0":"2014-09-01T20:29:16.597Z","0.3.1":"2014-09-03T22:25:47.962Z"},"homepage":"https://github.com/jonschlinkert/parser-utils","keywords":["assemble","cache","compile","consolidate","content","data","engine","express","front","gray-matter","matter","noop","parse","parser","parsers","pass-through","process","templates","yaml","util"],"repository":{"type":"git","url":"git://github.com/jonschlinkert/parser-utils.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/parser-utils/issues"},"readmeFilename":"README.md"}