split-on-first-space
v0.1.0
Published
Split string on the first white space occurence.
Downloads
5
Readme
split-on-first-space
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