Irina Glushko 2389e7160b HW1 done | il y a 3 ans | |
---|---|---|
.. | ||
.npmignore | il y a 3 ans | |
LICENSE | il y a 3 ans | |
README.md | il y a 3 ans | |
index.js | il y a 3 ans | |
package.json | il y a 3 ans |
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