yrik 0fb20a58e3 提交 %!s(int64=4) %!d(string=hai) anos
..
.npmignore eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
LICENSE eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
README.md eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
index.js eec7f449c9 first commit %!s(int64=4) %!d(string=hai) anos
package.json 0fb20a58e3 提交 %!s(int64=4) %!d(string=hai) anos

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