tree: f0b0cd2c3497995ccce6d1028c59c4e227b5dac5 [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