Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    to-double-quotespublic

    to-double-quotes Build Status

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

    Install

    $ npm install --save to-double-quotes
    

    Usage

    const toDoubleQuotes = require('to-double-quotes');
     
    toDoubleQuotes('I love \'unicorns\' "and" \'ponies\'');
    //=> 'I love "unicorns" "and" "ponies"'

    Related

    License

    MIT © Sindre Sorhus

    install

    npm i to-double-quotes

    Downloadsweekly downloads

    86,418

    version

    3.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar