JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10715397
  • Score
    100M100P100Q207350F
  • License MIT

Split a string on a character except when the character is escaped.

Package Exports

  • split-string

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (split-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

split-string NPM version

Split a string on a character except when the character is escaped.

Install

Install with npm

$ npm i split-string --save

Usage

var split = require('split-string');

split('a.b.c');
//=> ['a', 'b', 'c']

respects escaped characters

split('a.b.c\\.d');
//=> ['a', 'b', 'c.d']
  • deromanize: Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks, etc) | homepage
  • randomatic: Generate randomized strings of a specified length, fast. Only the length is necessary, but you… more | homepage
  • repeat-string: Repeat the given string n times. Fastest implementation for repeating a string. | homepage
  • romanize: Convert numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc) | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on August 27, 2015.