|
|
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