{"_id":"quote-unquote","_rev":"322965","name":"quote-unquote","description":"quote and unquote strings. escapes internal quotes and slashes. Automatically decides whether to use single or double quotes.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"time":{"modified":"2021-06-04T01:29:46.000Z","created":"2015-03-12T22:19:58.895Z","1.0.0":"2015-03-12T22:19:58.895Z"},"users":{},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"repository":{"type":"git","url":"git://github.com/dominictarr/quote-unquote.git"},"versions":{"1.0.0":{"name":"quote-unquote","description":"quote and unquote strings. escapes internal quotes and slashes. Automatically decides whether to use single or double quotes.","version":"1.0.0","homepage":"https://github.com/dominictarr/quote-unquote","repository":{"type":"git","url":"git://github.com/dominictarr/quote-unquote.git"},"dependencies":{},"devDependencies":{},"scripts":{"prepublish":"npm ls &&  node test.js","test":"node test.js"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"10b3363c7ad891998b99b26de6ea60a2218f6c96","bugs":{"url":"https://github.com/dominictarr/quote-unquote/issues"},"_id":"quote-unquote@1.0.0","_shasum":"67a9a77148effeaf81a4d428404a710baaac8a0b","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.35","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"dist":{"shasum":"67a9a77148effeaf81a4d428404a710baaac8a0b","size":1780,"noattachment":false,"key":"/quote-unquote/-/quote-unquote-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote-unquote/download/quote-unquote-1.0.0.tgz"},"publish_time":1426198798895,"_cnpm_publish_time":1426198798895,"_hasShrinkwrap":false}},"readme":"# quote-unquote\n\nquote and unquote strings. escapes internal quotes and slashes.\nAutomatically decides whether to use single or double quotes.\n\n## q = require('quote-unquote')\n\n### q.quote (string)\n\n`foo's bar` => `\"foo's bar\"`\n`\"foo's bar\"` => `\"\\\"foo's bar\\\"\"`\n`\"\\\"foo's bar\\\"\"` => `\"\\\"\\\\\\\"foo's bar\\\\\\\"\\\"\"`\n\netc\n\n### q.unquote(quoted_string)\n\nthe reverse of the above.\n\n`\"foo's bar\"` => `foo's bar`\n`\"\\\"foo's bar\\\"\"` => `\"foo's bar\"`\n`\"\\\"\\\\\\\"foo's bar\\\\\\\"\\\"\"` => `\"\\\"foo's bar\\\"\"`\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/dominictarr/quote-unquote","bugs":{"url":"https://github.com/dominictarr/quote-unquote/issues"},"license":"MIT"}