{"name":"to-single-quotes","version":"4.0.0","description":"Convert matching double-quotes to single-quotes: `I \"love\" unicorns` → `I 'love' unicorns`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-single-quotes.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["normalize","quotes","quote","single","singlequotes","single-quotes","text","convert","string","code","matching","replace"],"devDependencies":{"ava":"^3.15.0","xo":"^0.38.2"},"gitHead":"011f37eff1ae5189c9f9a3a8985b916bb3f7f5de","bugs":{"url":"https://github.com/sindresorhus/to-single-quotes/issues"},"homepage":"https://github.com/sindresorhus/to-single-quotes#readme","_id":"to-single-quotes@4.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-sMi8lbpy+CIqZUb2Q/ZjhChlg+2B7ohuLaKYy0SsOqaAp8Yky2YT0JgbBTPqOi/rOtEMBcEFyeYM4QhHUbsLQg==","shasum":"85f1c51a3c0ebd00f6a636dd29a02552fcdc6625","tarball":"http://registry-npm.ywwl.com/to-single-quotes/download/to-single-quotes-4.0.0.tgz","fileCount":4,"unpackedSize":4229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfEZuCRA9TVsSAnZWagAApBgP/3U/HL3DoY2cCeRDV7Mo\nWFj19+qYZAsdgIYqlKYrM4on+lkQbKyK+hQsYl75Q7gJSqjNdQqTDIMK0Gxl\n+cCx12lsap2c5+waelabCAWfhspPDR6RYaSCF9uGP0caRpeXcIWhnHo5mroz\nvNuXIQU6KXIuQXKDmdOYgnTk6Dcpl4uyjeYd6RIqgL3av/e6S1EzUnC0LqH2\n+BxHvHPSg8WwXj+Ro3IVhctQ1Nkjons2ybPnb8rcwkyzuQthy3ecmTmUOLhO\nKZQ5ZD9ehuZJBfIQEfMHW4yuVYXsunHYebM782LcEEKC+oHYwjXQYSzqa/Dn\nhSqwn7PmxXFUgOFsQ6ALn2o0FyxgKMyAbKMZBnk/cHJVigYxf6YXGTaFeVOJ\n146NMgjzw3HcEjA/cbNUYfYssIoKAEyP8tGmCnMXmNcM5guvKS+MbSEfMZIr\nXYa0j3oNMDQQGSwnZOSsfz1BoW0+M54PBavuBgET/be4IaAOMtPQbwakifPm\n4eKZogSkerxaN6SZlrYdfiU7CVhnazShhTcK0osO9JrmutWXStHi2Jrc5SBz\nSW7RtDmx4P9e7qUEVPKoW1/TOJ2XWteGl28tRXV/lvGcmPTywfVFR4CBEPKL\nK6xuSIwmKVk8DdEjWjyMvzwgAoK+Ky5+KVF/416nZzOQr9tmiUvn1yxB7t+M\n6lO/\r\n=7n07\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe2WniO8Kn3AHou3tFlvHHozHoqQdzu77FNB1mUnddvgIhAKr9bmmuiFfrfO9bDd/rkz9XYNFqkpMvBZN1kk3hAWW8"}],"size":1984,"noattachment":false,"key":"/to-single-quotes/-/to-single-quotes-4.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-single-quotes_4.0.0_1618757229550_0.13005521312240975"},"_hasShrinkwrap":false,"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":1618757229738,"_cnpm_publish_time":1618757229738,"dist-tags":{"latest":"4.0.0"}}