|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
412 bytes
|
| Line | |
|---|
| 1 | # unquote
|
|---|
| 2 |
|
|---|
| 3 | Remove wrapping quotes from a string. Returns an empty string if the first arg is falsey.
|
|---|
| 4 |
|
|---|
| 5 | ## Installation
|
|---|
| 6 |
|
|---|
| 7 | ```
|
|---|
| 8 | npm install unquote
|
|---|
| 9 | ```
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | ## Usage
|
|---|
| 13 |
|
|---|
| 14 | Example
|
|---|
| 15 | ```js
|
|---|
| 16 | var unquote = require('unquote')
|
|---|
| 17 |
|
|---|
| 18 | unquote('"hello, world"') // 'hello, world'
|
|---|
| 19 | unquote('\'hello, world\'') // 'hello, world'
|
|---|
| 20 | ```
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | ## Running Tests
|
|---|
| 24 |
|
|---|
| 25 | ```
|
|---|
| 26 | npm test
|
|---|
| 27 | ```
|
|---|
| 28 |
|
|---|
| 29 | ## License
|
|---|
| 30 |
|
|---|
| 31 | ([The MIT License](LICENSE))
|
|---|
| 32 |
|
|---|
| 33 | Copyright 2017 Cameron Lakenen
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.