lhl 2bdf874dbb create 11 months ago
..
.npmignore 2bdf874dbb create 11 months ago
LICENSE 2bdf874dbb create 11 months ago
README.md 2bdf874dbb create 11 months ago
index.js 2bdf874dbb create 11 months ago
package.json 2bdf874dbb create 11 months ago

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