Björn f184cd7e2a | 4 years ago | |
---|---|---|
.. | ||
.npmignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years 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