XuelesszzZ 94af2b8e7b 6-30-5 | 1 year ago | |
---|---|---|
.. | ||
.npmignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
index.js | 1 year ago | |
package.json | 1 year ago |
Remove wrapping quotes from a string. Returns an empty string if the first arg is falsey.
npm install unquote
Example
var unquote = require('unquote')
unquote('"hello, world"') // 'hello, world'
unquote('\'hello, world\'') // 'hello, world'
npm test
Copyright 2017 Cameron Lakenen