Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

unquote

1.1.1 • Public • Published

unquote

Remove wrapping quotes from a string. Returns an empty string if the first arg is falsey.

Installation

npm install unquote

Usage

Example

var unquote = require('unquote')
 
unquote('"hello, world"') // 'hello, world'
unquote('\'hello, world\'') // 'hello, world'

Running Tests

npm test

License

(The MIT License)

Copyright 2017 Cameron Lakenen

Install

npm i unquote

DownloadsWeekly Downloads

6,836,525

Version

1.1.1

License

MIT

Last publish

Collaborators

  • avatar