@cowprotocol/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
34 lines (20 loc) • 412 B
Markdown
# unquote
Remove wrapping quotes from a string. Returns an empty string if the first arg is falsey.
## Installation
```
npm install unquote
```
## Usage
Example
```js
var unquote = require('unquote')
unquote('"hello, world"') // 'hello, world'
unquote('\'hello, world\'') // 'hello, world'
```
## Running Tests
```
npm test
```
## License
([The MIT License](LICENSE))
Copyright 2017 Cameron Lakenen