e528523742 v1.0.0 4 年之前
..
.npmignore e528523742 v1.0.0 4 年之前
LICENSE e528523742 v1.0.0 4 年之前
README.md e528523742 v1.0.0 4 年之前
index.js e528523742 v1.0.0 4 年之前
package.json e528523742 v1.0.0 4 年之前

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