{"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":"*"},"readme":"# to-single-quotes [![Build Status](https://travis-ci.org/sindresorhus/to-single-quotes.svg?branch=master)](https://travis-ci.org/sindresorhus/to-single-quotes)\n\n> Convert matching double-quotes to single-quotes: `I \"love\" unicorns` → `I 'love' unicorns`\n\n\n## Install\n\n```\n$ npm install --save to-single-quotes\n```\n\n\n## Usage\n\n```js\nconst toSingleQuotes = require('to-single-quotes');\n\ntoSingleQuotes('I love \"unicorns\" \\'and\\' \"ponies\"');\n//=> \"I love 'unicorns' 'and' 'ponies'\"\n```\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\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","readmeFilename":"readme.md","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":"https://registry.npmjs.org/to-single-quotes/-/to-single-quotes-2.0.0.tgz","_resolved":"https://registry.npmjs.org/to-single-quotes/-/to-single-quotes-2.0.0.tgz"}