mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
412 B
412 B
unquote
Remove wrapping quotes from a string. Returns an empty string if the first arg is falsey.
Installation
npm install unquote
Usage
Example
var unquote = require('unquote')
unquote('"hello, world"') // 'hello, world'
unquote('\'hello, world\'') // 'hello, world'
Running Tests
npm test
License
Copyright 2017 Cameron Lakenen