1.0.3 • Published 4 years ago
space-separated v1.0.3
space-separated
Splits a string by whitespace.
Install
npm i -S space-separated
Usage
const sep = require('space-separated')
sep(' one "and two and"\n\'three and\'\t`four` ')
outputs
['one', '"and two and"', '\'three and\'', '`four`']
License
MIT © Paul Zimmer