{"_id":"2json","_rev":"8-2d3b6cb7d8c1c2b966b1b485389725c0","name":"2json","description":"json flattener that outputs lines similar to xml2","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"2json","version":"0.0.1","description":"json flattener that outputs lines similar to xml2","main":"index.js","bin":{"json2":"./bin/json2","2json":"./bin/2json"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/GeneralUnRest/json2.git"},"keywords":["xml2","json2"],"author":{"name":"prussian","email":"genunrest@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/GeneralUnRest/json2/issues"},"homepage":"https://github.com/GeneralUnRest/json2#readme","devDependencies":{"pegjs":"^0.10.0"},"dependencies":{"lodash":"^4.17.2"},"gitHead":"807b957c1ac7128262ff51980e6e67ccd605ebe5","_id":"2json@0.0.1","_shasum":"1a5110cd240732947285208d806d3ed518f3ff25","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"prussian","email":"genunrest@gmail.com"},"dist":{"shasum":"1a5110cd240732947285208d806d3ed518f3ff25","tarball":"https://registry.npmjs.org/2json/-/2json-0.0.1.tgz","integrity":"sha512-zaGiLo76HqXPLxbluOjUWgz6ExHui7Cb/Um1aMSAXME120rg5QaK2LJdDzUOvt2zq6+5ZUccPGfBLV+6lXKLXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHBPmdJx+XSI3XoEJfxZqW7p5BRvMq+yeigBUSaHczsgIhAI1lx9YEjkyVgwrhqTUQwvMVg0tT7VDsVtk8Gn7t4VWz"}]},"maintainers":[{"name":"prussian","email":"genunrest@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2json-0.0.1.tgz_1480562919520_0.8899196367710829"}},"0.0.2":{"name":"2json","version":"0.0.2","description":"json flattener that outputs lines similar to xml2","main":"json2.js","bin":{"json2":"./bin/json2","2json":"./bin/2json"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","grammar":"./node_modules/pegjs/bin/pegjs ./2json-line.pegjs"},"repository":{"type":"git","url":"git+https://github.com/GeneralUnRest/json2.git"},"keywords":["xml2","json2"],"author":{"name":"prussian","email":"genunrest@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/GeneralUnRest/json2/issues"},"homepage":"https://github.com/GeneralUnRest/json2#readme","devDependencies":{"pegjs":"^0.10.0"},"dependencies":{"lodash":"^4.17.2"},"gitHead":"2e6e2a8ddec692a1cf8989e2e9fe2d3c7b6ff86a","_id":"2json@0.0.2","_shasum":"e2334ff57e5e585dbe4bf4107c80cb40147763c4","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"prussian","email":"genunrest@gmail.com"},"dist":{"shasum":"e2334ff57e5e585dbe4bf4107c80cb40147763c4","tarball":"https://registry.npmjs.org/2json/-/2json-0.0.2.tgz","integrity":"sha512-tB9BL4tDv7gukG903LkLSFNm+uxF17hGQtgsjc+C+6IAgzfzA4KI/0xZFBQYDFhINCj9ezb3enNkHEpUJFsFtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDzB91bKfJ/7d9pz6NuodDhDKCttzk02ENYW0zBFq5koAiB8/0Ia/DA6UlCEuYvF4RNmYlj5CQelcbOcK02ihh7yCw=="}]},"maintainers":[{"name":"prussian","email":"genunrest@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2json-0.0.2.tgz_1480614499626_0.32026964938268065"}},"0.1.0":{"name":"2json","version":"0.1.0","description":"json flattener that outputs lines similar to xml2","main":"json2.js","bin":{"json2":"./bin/json2","2json":"./bin/2json"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","grammar":"./node_modules/pegjs/bin/pegjs ./2json-line.pegjs"},"repository":{"type":"git","url":"git+https://github.com/GeneralUnRest/json2.git"},"keywords":["xml2","json2"],"author":{"name":"prussian","email":"genunrest@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/GeneralUnRest/json2/issues"},"homepage":"https://github.com/GeneralUnRest/json2#readme","devDependencies":{"pegjs":"^0.10.0"},"dependencies":{"lodash":"^4.17.2"},"gitHead":"c0d0270265c85a21d569d44aafd71e15bac3caf4","_id":"2json@0.1.0","_shasum":"981c1ad0a66c669a5286a5c1e224a5a7244a96de","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"prussian","email":"genunrest@gmail.com"},"dist":{"shasum":"981c1ad0a66c669a5286a5c1e224a5a7244a96de","tarball":"https://registry.npmjs.org/2json/-/2json-0.1.0.tgz","integrity":"sha512-OvDDPiIv2LZqUP+plf80ZiiGbWJWToF6EZWYk2UWFt697lM8hVWqf4PrZ4dPEgXhSSZzFPrLJvkiLlehpMop3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqS9DEF6yrmE0DnK+Y4w+qP4JQFCbTawS3MFSuOlB3pwIgRjJLffxg914iLUWbcrIVyjNWeNttbYBRSdQIwgBk1as="}]},"maintainers":[{"name":"prussian","email":"genunrest@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2json-0.1.0.tgz_1480618470037_0.4849020845722407"}},"0.2.0":{"name":"2json","version":"0.2.0","description":"json flattener that outputs lines similar to xml2","main":"json2.js","bin":{"json2":"./bin/json2","2json":"./bin/2json"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","grammar":"./node_modules/pegjs/bin/pegjs ./2json-line.pegjs"},"repository":{"type":"git","url":"git+https://github.com/GeneralUnRest/json2.git"},"keywords":["xml2","json2"],"author":{"name":"prussian","email":"genunrest@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/GeneralUnRest/json2/issues"},"homepage":"https://github.com/GeneralUnRest/json2#readme","devDependencies":{"pegjs":"^0.10.0"},"dependencies":{"lodash":"^4.17.2"},"gitHead":"1aed0eae7ae6d32808cb60148d1fb1d28af056c7","_id":"2json@0.2.0","_shasum":"9c2d4182d573136afe366b46da0c8ac02d631e08","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"prussian","email":"genunrest@gmail.com"},"dist":{"shasum":"9c2d4182d573136afe366b46da0c8ac02d631e08","tarball":"https://registry.npmjs.org/2json/-/2json-0.2.0.tgz","integrity":"sha512-rDuLB7jLHzP8O6ftUjQuQzKX6H/1nl4m5rP4C/bjXvQOroRii+p0pMc1/YTwAEfsm2iddR6k3yENESWreVjYPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgz2yJJT7KQWRtqRqzX5e1iHCcCx8ooji8SnDcVT9UHAiAW4hg7GM/i+m5h/oVUGjOzseogH312YzTPkO6v5yRU6A=="}]},"maintainers":[{"name":"prussian","email":"genunrest@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2json-0.2.0.tgz_1480647170422_0.009681745432317257"}},"0.2.0-readme1":{"name":"2json","version":"0.2.0-readme1","description":"json flattener that outputs lines similar to xml2","main":"json2.js","bin":{"json2":"./bin/json2","2json":"./bin/2json"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","grammar":"./node_modules/pegjs/bin/pegjs ./2json-line.pegjs"},"repository":{"type":"git","url":"git+https://github.com/GeneralUnRest/json2.git"},"keywords":["xml2","json2"],"author":{"name":"prussian","email":"genunrest@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/GeneralUnRest/json2/issues"},"homepage":"https://github.com/GeneralUnRest/json2#readme","devDependencies":{"pegjs":"^0.10.0"},"dependencies":{"lodash":"^4.17.2"},"gitHead":"9b16819b3b3da03b349f97e92dd834a0bc10b4d5","_id":"2json@0.2.0-readme1","_shasum":"e6f35f6a17897a3249289fd5682baf73135936e4","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"prussian","email":"genunrest@gmail.com"},"dist":{"shasum":"e6f35f6a17897a3249289fd5682baf73135936e4","tarball":"https://registry.npmjs.org/2json/-/2json-0.2.0-readme1.tgz","integrity":"sha512-V8XulN75y3asPbA41tt/61CnO+bNyhzjiMpDhl1NGfByHSV9BbP/Yw/fUYsu1db4DlOnuVP5bN7UJWl1AI35zA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXYdWbIjKUP1J2RZozBtR7ypWuo8K9yJieOGuYvBKQ9gIhAJ2cxAB4pEGS2gsiz372LrLtQeApx2EgsAW7aF7rpGM3"}]},"maintainers":[{"name":"prussian","email":"genunrest@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2json-0.2.0-readme1.tgz_1480647448208_0.09290304337628186"}},"0.2.1":{"name":"2json","version":"0.2.1","description":"json flattener that outputs lines similar to xml2","main":"json2.js","bin":{"json2":"./bin/json2","2json":"./bin/2json"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","grammar":"./node_modules/pegjs/bin/pegjs ./2json-line.pegjs"},"repository":{"type":"git","url":"git+https://github.com/GeneralUnRest/json2.git"},"keywords":["xml2","json2"],"author":{"name":"prussian","email":"genunrest@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/GeneralUnRest/json2/issues"},"homepage":"https://github.com/GeneralUnRest/json2#readme","devDependencies":{"pegjs":"^0.10.0"},"dependencies":{"lodash.mergewith":"^4.6.0"},"gitHead":"23f9949e1df07cb35316dc665f8ae1473903a3b8","_id":"2json@0.2.1","_shasum":"ea8029772c05de79e2504fd076eee2b1df9497fc","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"prussian","email":"genunrest@gmail.com"},"dist":{"shasum":"ea8029772c05de79e2504fd076eee2b1df9497fc","tarball":"https://registry.npmjs.org/2json/-/2json-0.2.1.tgz","integrity":"sha512-c04IKAtb/mXeRikd3BsmNrq2dCAH9uM45YDKlCZob6prMkxd4s4Z2QQGProcqq5upa0+hjY9dvO7D6NUBkJEQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPbexhqgv1EHr5Ed9I34bTQnqJZF6kwEcKeDbha76XzAiBkeucULeghUuh/HqLXmNEDmOsYB6eG2H7dM8Dn77rF9w=="}]},"maintainers":[{"name":"prussian","email":"genunrest@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2json-0.2.1.tgz_1480651562608_0.6489758188836277"}}},"readme":"json2\n=====\n\nsimple utility for transforming json documents into grep-able and sed-able lines\n\ninstall\n-------\n\n    # json2 was already taken\n    npm install -g 2json\n\nusage\n-----\n\n    # json2 args\n    json2 [file] [< or_file]\n\n    # 2json\n    # -p flag pretty prints json\n    2json [file] [< or_file] [-p --pretty]\n\n    # get package name\n    basename $(json2 package.json | grep '/name')\n\n    # change package name and reconvert lines to json using 2json\n    json2 < package.json | sed 's@\\(/name\\)/.*@\\1/new-name@' | 2json -p\n\nescapes for json2/2json\n-----------------------\n\nThe following are escaped--by being in quote strings, as per rules:\n \n  * all forward slashes (/)\n  * all index brackets ([ or ])\n  * all strings that are just number characters (e.g. 00193425)\n\nYou must escape double quotes in strings, json2 does this.\n\nbackslash escapes for 2json\n---------------------------\n\nThe following characters must be escaped to handle issues with newlines using backslashes, whether in quotes or not:\n\n    \\ <- escape as \\\\\n    \\n\n    \\r\n    \\f\n\nnotes\n------\n\n/ [ ] are reserved by the json line grammar, if such values are found in your json, they will be quoted in double quotes.\n\n","maintainers":[{"name":"prussian","email":"genunrest@gmail.com"}],"time":{"modified":"2022-06-12T14:06:58.617Z","created":"2016-12-01T03:28:41.494Z","0.0.1":"2016-12-01T03:28:41.494Z","0.0.2":"2016-12-01T17:48:20.442Z","0.1.0":"2016-12-01T18:54:30.805Z","0.2.0":"2016-12-02T02:52:51.223Z","0.2.0-readme1":"2016-12-02T02:57:30.195Z","0.2.1":"2016-12-02T04:06:04.722Z"},"homepage":"https://github.com/GeneralUnRest/json2#readme","keywords":["xml2","json2"],"repository":{"type":"git","url":"git+https://github.com/GeneralUnRest/json2.git"},"author":{"name":"prussian","email":"genunrest@gmail.com"},"bugs":{"url":"https://github.com/GeneralUnRest/json2/issues"},"license":"ISC","readmeFilename":"README.md"}