sindresorhus / to-double-quotes-cli

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 100.0%