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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    4

Package Sidebar

Install

npm i split-on-first-space

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kchan