{"name":"to-single-quotes","version":"2.0.0","description":"Convert matching double-quotes to single-quotes: I \"love\" unicorns → I 'love' unicorns","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/to-single-quotes"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["normalize","quotes","quote","single","singlequotes","single-quotes","text","convert","string","code","matching","replace"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"832fe9fd96be63d576e799ea90d975b9056aa086","bugs":{"url":"https://github.com/sindresorhus/to-single-quotes/issues"},"homepage":"https://github.com/sindresorhus/to-single-quotes","_id":"to-single-quotes@2.0.0","_shasum":"5877952f830e69fc7ee19b0772362a53b9811780","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5877952f830e69fc7ee19b0772362a53b9811780","tarball":"http://registry-npm.ywwl.com/to-single-quotes/download/to-single-quotes-2.0.0.tgz","integrity":"sha512-WBcz60JbcwVRWAatLwMqSHA0pcnehUZOtzRg8m2Y1A9g8k3yu2UxOGiHR8njI+P9w/z/7Xwv+4TyqH1mmbmwQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAe3eCW7NYjKsGBeP30EXc/Io3lLhGcqafFnziqzrRrYAiARMMNEz4LiwayuaH/tCoMdgduEHl5zuLF5BLateDFe6g=="}],"size":1692,"noattachment":false,"key":"/to-single-quotes/-/to-single-quotes-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# to-single-quotes\n\n> Convert matching double-quotes to single-quotes: `I \"love\" unicorns` → `I 'love' unicorns`\n\n## Install\n\n```\n$ npm install to-single-quotes\n```\n\n## Usage\n\n```js\nimport toSingleQuotes from 'to-single-quotes';\n\ntoSingleQuotes('I love \"unicorns\" \\'and\\' \"ponies\"');\n//=> \"I love 'unicorns' 'and' 'ponies'\"\n```\n\n## Related\n\n- [to-single-quotes-cli](https://github.com/sindresorhus/to-single-quotes-cli) - CLI for this module\n- [to-double-quotes](https://github.com/sindresorhus/to-double-quotes) - Convert matching single-quotes to double-quotes\n","publish_time":1444295613842,"_cnpm_publish_time":1444295613842,"dist-tags":{"latest":"4.0.0"}}