peach a19a732be8 commit message | 2 éve | |
---|---|---|
.. | ||
.npmignore | 2 éve | |
LICENSE | 2 éve | |
README.md | 2 éve | |
index.js | 2 éve | |
package.json | 2 éve |
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