split-on-first-space
Split string on the first white space occurence.
Install
$ npm install --save split-on-first-space
Usage
const splitOnFirstSpace = //=> ['warning:', 'this is not drill']
License
MIT © EGOIST
Split string on the first white space occurence.
$ npm install --save split-on-first-space
const splitOnFirstSpace = //=> ['warning:', 'this is not drill']
MIT © EGOIST
npm i split-on-first-space
0
0.1.0
MIT