H5-contact/node_modules/unquote
whitechiina 753b079311 first commit 2026-08-20 15:54:28 +08:00
..
.npmignore first commit 2026-08-20 15:54:28 +08:00
LICENSE first commit 2026-08-20 15:54:28 +08:00
README.md first commit 2026-08-20 15:54:28 +08:00
index.js first commit 2026-08-20 15:54:28 +08:00
package.json first commit 2026-08-20 15:54:28 +08:00

README.md

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