{"_id":"string-editor","_rev":"7-c8bc6649bf3053c3d000af8dfff2f13f","name":"string-editor","description":"Edit a string using $EDITOR from within your node app.","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"string-editor","version":"0.1.0","description":"Edit a string using $EDITOR from within your node app.","repository":{"type":"git","url":"git://github.com:mafintosh/string-editor.git"},"dependencies":{"editor":"0.0.6"},"keywords":["string","editor","edit","env","cli","app"],"bugs":{"url":"https://github.com/mafintosh/string-editor/issues"},"homepage":"https://github.com/mafintosh/string-editor","_id":"string-editor@0.1.0","dist":{"shasum":"38fec5fc92e5d8c331a0c51ba8917c59dfcd634d","tarball":"https://registry.npmjs.org/string-editor/-/string-editor-0.1.0.tgz","integrity":"sha512-CUIY/Q8g0kQnGPlD8vX08uLTM2VuoauHyZ0aCDLW9s0u4MolA1gN6w1JVvwCt6BoltT3WYPqE4r3cSnMfveB/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJyjB2hQCT0VyFCNeanjHDp1MSwXTNNqsYO5qS8YXNVgIgDgGOsGTOf+LbtwSKGrzx9tX5B0SGZ3C7UGsIcgA/M+U="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.1.1":{"name":"string-editor","version":"0.1.1","description":"Edit a string using $EDITOR from within your node app.","repository":{"type":"git","url":"git://github.com:mafintosh/string-editor.git"},"dependencies":{"editor":"git://github.com/substack/node-editor.git#da8710f02a6bf70d56ab42688df3bd55232c5a44"},"keywords":["string","editor","edit","env","cli","app"],"gitHead":"a925a6af75b2e1fab24407469d0e3e592fcf9d0b","bugs":{"url":"https://github.com/mafintosh/string-editor/issues"},"homepage":"https://github.com/mafintosh/string-editor","_id":"string-editor@0.1.1","scripts":{},"_shasum":"e97088dba9aa6bd860b421f654c0595b8e134eae","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"e97088dba9aa6bd860b421f654c0595b8e134eae","tarball":"https://registry.npmjs.org/string-editor/-/string-editor-0.1.1.tgz","integrity":"sha512-IUw7U0kZAIgOaAb5jCnUdEnbxyYhqDpVfPS0ELbg13PZ0tsLRyluo7StXxgLnycb5hnl3OPClZ1MUYN567MOPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID196YFbamXwMwirXtl5g1aYfUGT/DPmq02fCSDEuFSsAiEA2ke4jgiH2Oe4e7QcRKM3v2T7bGHGacDYrpjeCw/pl+g="}]}},"0.1.2":{"name":"string-editor","version":"0.1.2","description":"Edit a string using $EDITOR from within your node app.","repository":{"type":"git","url":"git://github.com:mafintosh/string-editor.git"},"dependencies":{"editor":"^1.0.0"},"keywords":["string","editor","edit","env","cli","app"],"gitHead":"2c1e9909b95ed4058f0594ae630a658179989f01","bugs":{"url":"https://github.com/mafintosh/string-editor/issues"},"homepage":"https://github.com/mafintosh/string-editor","_id":"string-editor@0.1.2","scripts":{},"_shasum":"f5ff1b5ac4aed7ac6c2fb8de236d1551b20f61d0","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"f5ff1b5ac4aed7ac6c2fb8de236d1551b20f61d0","tarball":"https://registry.npmjs.org/string-editor/-/string-editor-0.1.2.tgz","integrity":"sha512-tu1uezPuogPvVzhFPQ9kWPKNAyzDck3YIRnWydslMYlnNir36uIGyXYrl6ym4h8fN/cz6hOJid8s3M3Tf5JbTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3IXvAXGkvQUMM7y39e3M93ClFngBCwv8fW1CcFiWHKgIgHzRnLWucNeyafYcjsyQbgOvquN1+t9B9iC7Ddaj0zmM="}]}}},"readme":"# string-editor\n\nEdit a string using $EDITOR from within your node app.\n\n\tnpm install string-editor\n\n## Usage\n\n``` js\nvar edit = require('string-editor');\n\n// this launches your $EDITOR with a tmp file containing \"hello world\"\nedit('hello world', function(err, result) {\n\t// when you are done editing result will contain the string\n\tconsole.log(result);\n});\n```\n\nSometimes it can be useful to set an filename to help your editor to enable highlighting etc.\n\n``` js\n// we pass app.js as a filename to help with highlighting\nedit('var a = 42;', 'app.js', function(err, result) {\n\tconsole.log(result);\n})\n```\n\nNote that `app.js` will still be a tmp file\n\n## License\n\nMIT","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-27T01:00:40.379Z","created":"2014-01-04T19:59:06.589Z","0.1.0":"2014-01-04T19:59:08.870Z","0.1.1":"2015-04-20T20:01:10.369Z","0.1.2":"2015-04-20T20:10:00.054Z"},"repository":{"type":"git","url":"git://github.com:mafintosh/string-editor.git"},"homepage":"https://github.com/mafintosh/string-editor","keywords":["string","editor","edit","env","cli","app"],"bugs":{"url":"https://github.com/mafintosh/string-editor/issues"},"readmeFilename":"README.md"}