# split-first

> Split the first separator of string.

Latest version **0.0.1** (published 2016-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install split-first
pnpm add split-first
yarn add split-first
bun add split-first
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-04-01 |
| First published | 2016-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tommy |
| Maintainers | tooto1985 |
| Keywords | split, first |

## Links

- npm: https://www.npmjs.com/package/split-first
- Repository: https://github.com/tooto1985/split-first
- Homepage: https://github.com/tooto1985/split-first#readme
- Issues: https://github.com/tooto1985/split-first/issues
- npm.io page: https://npm.io/package/split-first

## Recent versions

- 0.0.1 (latest) — 2016-04-01

## README

split-first
=============================
> Split the first separator of string.


## Install

```
$ npm install split-first
```


## Example

```js
require("split-first");

console.log("192.168.0.1".splitFirst("."));
//=> [ '192', '168.0.1' ]

console.log("http://www.abc.com/example/demo/web.html".splitFirst("/"));
//=> [ 'http:', '/www.abc.com/example/demo/web.html' ]

console.log("tommy@email.com".splitFirst("#")); //not found
//=> [ 'tommy@email.com' ]
```

## License

This code is licensed under the MIT License.

---
_Source: https://npm.io/package/split-first · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
