|
pirms 5 gadiem | |
---|---|---|
.. | ||
.npmignore | pirms 5 gadiem | |
LICENSE | pirms 5 gadiem | |
README.md | pirms 5 gadiem | |
index.js | pirms 5 gadiem | |
package.json | pirms 5 gadiem |
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