unquote
Remove wrapping quotes from a string.
Last updated 9 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 (9 years ago)

3 Versions

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

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