|
|
há 3 anos atrás | |
|---|---|---|
| .. | ||
| .npmignore | há 3 anos atrás | |
| LICENSE | há 3 anos atrás | |
| README.md | há 3 anos atrás | |
| index.js | há 3 anos atrás | |
| package.json | há 3 anos atrás | |
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