Sha256: 47779ad6c9f743360998212b808a42734efbe3d3131f195e82cd56272f2dc3d6
Contents?: true
Size: 786 Bytes
Versions: 2
Compression:
Stored size: 786 Bytes
Contents
# to-double-quotes [![Build Status](https://travis-ci.org/sindresorhus/to-double-quotes.svg?branch=master)](https://travis-ci.org/sindresorhus/to-double-quotes) > Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns` ## Install ``` $ npm install --save to-double-quotes ``` ## Usage ```js const toDoubleQuotes = require('to-double-quotes'); toDoubleQuotes('I love \'unicorns\' "and" \'ponies\''); //=> 'I love "unicorns" "and" "ponies"' ``` ## Related - [to-double-quotes-cli](https://github.com/sindresorhus/to-double-quotes-cli) - CLI for this module - [to-single-quotes](https://github.com/sindresorhus/to-single-quotes) - Convert matching double-quotes to single-quotes ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xcodebuild-helper-1.2.5 | externals/ios-sim-master/node_modules/to-double-quotes/readme.md |
xcodebuild-helper-1.2.3 | externals/ios-sim-master/node_modules/to-double-quotes/readme.md |