{"_id":"props","_rev":"48-f4a51a0eecda313fe36489ee6a168146","name":"props","description":"extract json/yaml from the beginning of text files","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.1":{"name":"props","description":"a simple property extractor","author":{"name":"Paul Vorbach","email":"paul@vorb.de"},"version":"0.0.1","main":"./lib/props.js","repository":{"type":"git","url":"git://github.com/pvorb/props.git"},"tags":["parser","properties","markdown"],"bugs":{"name":"http://github.com/pvorb/props/issues"},"_npmJsonOpts":{"file":"/home/paul/.npm/props/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"props@0.0.1","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.23","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"e830dc018b31ee149bf18c77b22ff33f1009a8db","tarball":"https://registry.npmjs.org/props/-/props-0.0.1.tgz","integrity":"sha512-UDUxP7Rsw6jQXm0cTqKU1PpchyKJU26BHzVBs71J+bNHpri5W51+ZkJaTsZVjeqrCNRHkyVSeJG0Ad3t3bW8SA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXJuOXi/ZVxiLlpJ6iyIrQjNO75Gka6mUXS5QQ2E5v4QIgKon5szjqEqFvXhNUb5dSvVhZhRmHfRwuReF2qKQllcU="}]},"scripts":{},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.0.2":{"name":"props","description":"extract properties from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de"},"version":"0.0.2","main":"./lib/props.js","repository":{"type":"git","url":"git://github.com/pvorb/props.git"},"tags":["parser","properties","markdown"],"bugs":{"url":"http://github.com/pvorb/props/issues"},"_npmJsonOpts":{"file":"/home/paul/.npm/props/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"props@0.0.2","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.23","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"26fd2149ae435dc213a7adff1adea7e8567b6351","tarball":"https://registry.npmjs.org/props/-/props-0.0.2.tgz","integrity":"sha512-ZsMgohqlom9mPgnQV9VaJXX0RcFiaMZcC88nBdZbxB0IgNeGZ842gJlPoyfGiEPhsB9FWJW5PRsjbo4hVkn+gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7t7FvQqXHJHnh+AqXCt0XlJEzJ68x4108n4cU6NCOQwIgXcLyb6iS20DNjznsUhARKp9gwew8dbECcQjIe9j1LZQ="}]},"scripts":{},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.0.3":{"name":"props","description":"extract properties from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.0.3","main":"./lib/props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","markdown"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"_npmJsonOpts":{"file":"/home/paul/.npm/props/0.0.3/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"props@0.0.3","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"488af20364a1f7e38882c02595b59559300b4162","tarball":"https://registry.npmjs.org/props/-/props-0.0.3.tgz","integrity":"sha512-md+yMqeKBIVaOcmPoBjAFPstFfkhfgDdQoztH5Mk1wL7YhryeocPkCPOW8Yj4fzSO55QSjNMjs6uLXEewiGtig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFSoSWnqGGBfau+JwaOXkb7q8U9sin7HKlhA2ZRFO0owIhAMwvlHibTjbXSUhwCya5KaBJEnRkc39k9/fX615bCy23"}]},"scripts":{},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.1.0":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.1.0","main":"lib/props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"yamlparser":">= 0.0.2"},"_npmJsonOpts":{"file":"/home/paul/.npm/props/0.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"props@0.1.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"185fd01dfe4d3af930906f86bc15684e503c7c8c","tarball":"https://registry.npmjs.org/props/-/props-0.1.0.tgz","integrity":"sha512-Ntj2Nq7xPpsGHXig22p5b21xJuz4LXtBYj7VQmpDc37DtfV70QeD7f/ceSZgrlodpXbpzQr2vO1R3JHcTxCq5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrcaQNzgyLKFUl3n23oj33nsGEdUjpTjzLTA1EduHHEgIgW/tpxc2pEqxAfZZGu10F6+Pla+1a8CtKHd6Rzka47Xk="}]},"scripts":{},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.1.1":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.1.1","main":"lib/props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"yamlparser":">= 0.0.2"},"devDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"pvorb","email":"paul@vorb.de"},"_id":"props@0.1.1","_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"68c2f4ac6a0c9c768de2744fcedf47b954054933","tarball":"https://registry.npmjs.org/props/-/props-0.1.1.tgz","integrity":"sha512-mPKD8xQ7gLQ/9YSZqvS9eZ71e+4YMMHek74JdqlmdNbdrMHeE+CjspXWb/FDQQogaVo+oC1BOlqTukIHrDliCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGlPYhPa2l5iDp2Bx4rL/agYnHvhVcxYtWDtg7lYBFowAiBjZQmrxI2816rIrclYiBk8kzxb+iAP3ztvpvO5LmcoiA=="}]},"readme":"","maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.2.0":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.2.0","main":"./props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"yamlparser":">=0.0.2"},"devDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"pvorb","email":"paul@vorb.de"},"_id":"props@0.2.0","_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"96df34f4414f2f3202d730edc1a8a1380cf35b15","tarball":"https://registry.npmjs.org/props/-/props-0.2.0.tgz","integrity":"sha512-LiCsbOOB5qAuf/WDRvBWq98XrIteUjKjw40yvcNvmcmQ6+75gBL8EWx//jd0oMQfl09ZoJN+NAB6HGxX+G5Tqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1m/3NWzdt9oCrAIMEhqAdKTgJ9WjcrJu/vQ7idjDZZgIhAIWo7tqfEoBRtwbd15EVB3N3bf9tGju8BCuPHq6T0LYV"}]},"readme":"","maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.2.1":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.2.1","main":"./props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"yamlparser":">=0.0.2"},"devDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"pvorb","email":"paul@vorb.de"},"_id":"props@0.2.1","_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"4979bdd718aec7cd3c72f6f40cb1805602755932","tarball":"https://registry.npmjs.org/props/-/props-0.2.1.tgz","integrity":"sha512-WTO8n0wmpEGBlgnOgwu0nayWflsely3bl5w5OyjdlbGGiL3YpcfECe+W6k1JssUuXTzmPdSpKscJPiomhjY5PQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJETSpdxVJrVIjoXHfH+jGJhjpFbg4ZCm+SpGYIA7inAiAxgzeW3v5mWe9opXNxWk+j1MBwN4bRkcGVV4TUYC5gfQ=="}]},"readme":"","maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.2.2":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.2.2","main":"./props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"yamlparser":">=0.0.2"},"devDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"pvorb","email":"paul@vorb.de"},"_id":"props@0.2.2","_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"8ae2322fa2c500c8cf9f1bcef55516903dfcaee4","tarball":"https://registry.npmjs.org/props/-/props-0.2.2.tgz","integrity":"sha512-qNpQfpBy9k3EEeA0a8QpbC/8nQ6xzdUKelCpdsRjukY1n4KJSb8oJWFgj968ekNwogvbIK3HzHWb+PScsKXiTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2ln5HfzG1VjGV0uA+1PswiC5HTYeXC3dpWe5nKrhPHAiEAqQhLuITS5FVx3aAgz28slvjd9IuYkXIpNaK9lDaG2hY="}]},"readme":"","maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.2.3":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.2.3","main":"./props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"js-yaml":">=0.3.5"},"devDependencies":{},"engines":{"node":"*"},"optionalDependencies":{},"_npmUser":{"name":"pvorb","email":"paul@vorb.de"},"_id":"props@0.2.3","_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"bc2a89df03811a0cff08f1a2835199215a61bcb6","tarball":"https://registry.npmjs.org/props/-/props-0.2.3.tgz","integrity":"sha512-03C8cAceJXWUwy3ya3Avf36Q7pP2tXGGSzB8qaBOeGAUfHdhPEQtikOdtgizk9e8kfp+32Dz6vh/r9ggqOgrEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyS/ScEues2Z9RLm8w32QbQDNycMldKjMHUqKljX37iQIgce8Y50VYzc42PdujkAsma4IQAoUmdoUh1TjPi7IO2R8="}]},"readme":"","maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"directories":{}},"0.2.4":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.2.4","main":"./props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"js-yaml":">=0.3.5 <1.1.0"},"devDependencies":{},"engines":{"node":"*"},"optionalDependencies":{},"readme":"# props\n\na module for node that is able to extract either JSON or YAML from the beginning\nof a string\n\n## Installation\n\n`npm install props` or `npm install -g props`\n\n## Usage\n\n```js\nvar props = require(\"props\");\n\n// Use JSON\n\nvar json =\n'{\\n\\\n  \"title\": \"How to use node.js\",\\n\\\n  \"date\": \"2011-08-09T17:56:00\",\\n\\\n  \"tags\": [ \"example\", \"node.js\" ]\\n\\\n}\\n\\\n\\n\\\n\\n\\\nNode.js is a new technology...';\n\nconsole.log(props(json));\n\n// or YAML\n\nvar yaml =\n'title: How to use node.js\\n\\\ndate: 2011-08-09T17:56:00\\n\\\ntags:\\n\\\n  - example\\n\\\n  - node.js\\n\\\n\\n\\\n\\n\\\nNode.js is a new technology...';\n\nconsole.log(props(yaml));\n```\n\nThis will print nearly the same object twice, since `json` and `yaml` define the\nsame object:\n\n_JSON_:\n\n```js\n{ title: 'How to use node.js',\n  date: '2011-08-09T17:56:00',\n  tags: [ 'example', 'node.js' ],\n  __content: 'Node.js is a new technology...' }\n\n```\n\n_YAML_:\n\n```js\n{ title: 'How to use node.js',\n  date: Tue, 09 Aug 2011 15:56:00 GMT,\n  tags: [ 'example', 'node.js' ],\n  __content: 'Node.js is a new technology...' }\n```\n\nThe difference is that, due to it's JS implementation, the Date is parsed in the\nYAML version.\n\nThe JSON/YAML part has to be **always** seperated from the content by three\nnewline characters (`\\n\\n\\n` or `\\r\\n\\r\\n\\r\\n`).\n\n## Bugs and Issues\n\nIf you encounter any bugs or issues, feel free to open an issue at\n[github](//github.com/pvorb/node-props/issues).\n\n## License\n\nThe [MIT license](http://vorb.de/license/mit.html).\n","_id":"props@0.2.4","dist":{"shasum":"dbf0f5a05961567424a9158818d62638b74ad2b3","tarball":"https://registry.npmjs.org/props/-/props-0.2.4.tgz","integrity":"sha512-3xoroAs/U3YMhimQEdRx1FGBhNX0JK6gruzImBFVuvcqJCyllWMU/2HxpzlrWIghs6xhUh3Q+aZzQDbvFVQyng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAIyqoGB3Z0KB8nffbKQCRcnN+gAvmWmNvL1uaBgrqUQIhALM6eRacB9IEd8DFrWSIUuorKJjJIVVe4l1ixh64dTwE"}]},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}]},"0.3.0":{"name":"props","description":"extract json/yaml from the beginning of text files","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"version":"0.3.0","main":"./props.js","repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"tags":["parser","properties","json","yaml","jsml"],"bugs":{"url":"http://github.com/pvorb/node-props/issues"},"dependencies":{"js-yaml":">=0.3.5 <1.1.0","jsml":"<0.1.0"},"devDependencies":{},"engines":{"node":"*"},"optionalDependencies":{},"readme":"# props\n\na module for node that is able to extract either JSON or YAML from the beginning\nof a string\n\n## Installation\n\n`npm install props` or `npm install -g props`\n\n## Usage\n\n```js\nvar props = require(\"props\");\n\n// Use JSON\n\nvar json =\n'{\\n\\\n  \"title\": \"How to use node.js\",\\n\\\n  \"date\": \"2011-08-09T17:56:00\",\\n\\\n  \"tags\": [ \"example\", \"node.js\" ]\\n\\\n}\\n\\\n\\n\\\n\\n\\\nNode.js is a new technology...';\n\nconsole.log(props(json));\n\n// or YAML\n\nvar yaml =\n'title: How to use node.js\\n\\\ndate: 2011-08-09T17:56:00\\n\\\ntags:\\n\\\n  - example\\n\\\n  - node.js\\n\\\n\\n\\\n\\n\\\nNode.js is a new technology...';\n\nconsole.log(props(yaml));\n```\n\nThis will print nearly the same object twice, since `json` and `yaml` define the\nsame object:\n\n_JSON_:\n\n```js\n{ title: 'How to use node.js',\n  date: '2011-08-09T17:56:00',\n  tags: [ 'example', 'node.js' ],\n  __content: 'Node.js is a new technology...' }\n\n```\n\n_YAML_:\n\n```js\n{ title: 'How to use node.js',\n  date: Tue, 09 Aug 2011 15:56:00 GMT,\n  tags: [ 'example', 'node.js' ],\n  __content: 'Node.js is a new technology...' }\n```\n\nThe difference is that, due to it's JS implementation, the Date is parsed in the\nYAML version.\n\nThe JSON/YAML part has to be **always** seperated from the content by three\nnewline characters (`\\n\\n\\n` or `\\r\\n\\r\\n\\r\\n`).\n\n## Bugs and Issues\n\nIf you encounter any bugs or issues, feel free to open an issue at\n[github](//github.com/pvorb/node-props/issues).\n\n## License\n\nThe [MIT license](http://vorb.de/license/mit.html).\n","_id":"props@0.3.0","dist":{"shasum":"98ba67065fb4a6e352538ed40a73070fddabd0f6","tarball":"https://registry.npmjs.org/props/-/props-0.3.0.tgz","integrity":"sha512-fIvqksxTBNejdUj/iwDmdUySlfonDzuflfQQXz0BxA3yL0R2Qd9u6jTuXq9Y+tIaSUHT8Y7u2AxPYxzrry8FRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfuDuIynMCMGZnmLQ0ktxIPL90x8J6+vW+ra9PTH21sAIhAOZXrv1G1UzbRCVs3Cf5zHFGm8fF5KgjP7YT2cekrB34"}]},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}]}},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"time":{"modified":"2022-06-24T20:26:28.696Z","created":"2011-08-09T19:47:05.832Z","0.0.1":"2011-08-09T19:47:09.282Z","0.0.2":"2011-08-13T12:51:45.176Z","0.0.3":"2011-08-14T12:43:41.841Z","0.1.0":"2011-08-22T01:20:21.354Z","0.1.1":"2011-12-22T00:12:47.935Z","0.2.0":"2011-12-30T15:18:59.106Z","0.2.1":"2011-12-30T15:21:15.984Z","0.2.2":"2011-12-30T15:26:40.309Z","0.2.3":"2012-02-08T14:55:07.864Z","0.2.4":"2012-08-09T20:02:00.787Z","0.3.0":"2012-08-09T22:55:41.253Z"},"author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"http://vorb.de"},"repository":{"type":"git","url":"git://github.com/pvorb/node-props.git"},"users":{"meeh":true}}