1.1.0 • Published 5 years ago

split-string-words v1.1.0

Weekly downloads
282
License
MIT
Repository
github
Last release
5 years ago

split-string-words

Splits a string into individual words, taking quotes into account

Install

$ npm install --save split-string-words

Usage

var split = require('split-string-words');

split('hello this is dog'); 
//=> ["hello", "this", "is", "dog"]

split('hello "this is dog"'); 
//=> ["hello", "this is dog"]

split('filename hello-world.js __winning.py'); 
//=> ["filename", "hello-world.js", "__winning.py"]

License

MIT © Tim Robinson

1.1.0

5 years ago

1.0.0

8 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago