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