to-double-quotes-cli

Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns

Usage no npm install needed!

<script type="module">
  import toDoubleQuotesCli from 'https://cdn.skypack.dev/to-double-quotes-cli';
</script>

README

to-double-quotes-cli

Convert matching single-quotes to double-quotes: I 'love' unicornsI "love" unicorns

Install

$ npm install --global to-double-quotes-cli

Usage

$ to-double-quotes --help

  Usage
    $ to-double-quotes <string>
    $ echo <string> | to-double-quotes

  Example
    $ to-double-quotes "I love 'unicorns'"
    I love "unicorns"

Related