unquote
Remove wrapping quotes from a string.
Last updated 10 years ago by lakenen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install unquote 
SYNC missed versions from official npm registry.

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

(The MIT License)

Copyright 2017 Cameron Lakenen

Current Tags

  • 1.1.1                                ...           latest (7 years ago)

3 Versions

  • 1.1.1                                ...           7 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 7
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE