Awesome
to-single-quotes-cli
Convert matching double-quotes to single-quotes:
I "love" unicorns
→I 'love' unicorns
Install
$ npm install --global to-single-quotes-cli
Usage
$ to-single-quotes --help
Usage
$ to-single-quotes <string>
$ echo <string> | to-single-quotes
Example
$ to-single-quotes 'I love "unicorns"'
I love 'unicorns'
Related
- to-single-quotes - API for this module