split-space
Split a string by space and ignore space in quoted string.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install split-space 
SYNC missed versions from official npm registry.

split-space NPM version NPM downloads Build Status

Split a string by space and ignore space in quoted string.

Install

$ npm install --save split-space

Usage

const split = require('split-space')

split('git commit -m "first commit"')
//=> ['git', 'commit', '-m', '\"first commit\"']

Related

License

MIT © EGOIST

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |