split-on-first-space

0.1.0 • Public • Published

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

/split-on-first-space/

    Package Sidebar

    Install

    npm i split-on-first-space

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • kchan