split-on-first-space
Split string on the first white space occurence.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install split-on-first-space 
SYNC missed versions from official npm registry.

split-on-first-space NPM version NPM downloads Build Status

Split string on the first white space occurence.

Install

$ npm install --save split-on-first-space

Usage

const splitOnFirstSpace = require('split-on-first-space')

splitOnFirstSpace('warning: this is not drill')
//=> ['warning:', 'this is not drill']

License

MIT © EGOIST

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

1 Versions

  • 0.1.0                                ...           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 |