|
|
преди 3 години | |
|---|---|---|
| .. | ||
| .npmignore | преди 3 години | |
| LICENSE | преди 3 години | |
| README.md | преди 3 години | |
| index.js | преди 3 години | |
| package.json | преди 3 години | |
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