tree: c26820d663e177bb4f4bef15b8cdf8c490b2c9c7 [path history] [tgz]
  1. .npmignore
  2. index.js
  3. LICENSE
  4. package.json
  5. README.md
node_modules/unquote/README.md

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