yrik 2fd3c19a01 提交 4 éve
..
.npmignore eec7f449c9 first commit 4 éve
LICENSE eec7f449c9 first commit 4 éve
README.md eec7f449c9 first commit 4 éve
index.js eec7f449c9 first commit 4 éve
package.json 2fd3c19a01 提交 4 éve

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