An open API service indexing awesome lists of open source software.

https://github.com/afeiship/next-parse-int

The parseInt int for next.
https://github.com/afeiship/next-parse-int

int next parse

Last synced: 29 days ago
JSON representation

The parseInt int for next.

Awesome Lists containing this project

README

          

# next-parse-int
> The parseInt int for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-parse-int
```

## usage
```js
import '@jswork/next-parse-int';

const arr = [1, '2a', '3b', '4c'];
const res = arr.map(nx.parseInt);

// [1, 2, 3, 4]
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-parse-int/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-parse-int
[version-url]: https://npmjs.org/package/@jswork/next-parse-int

[license-image]: https://img.shields.io/npm/l/@jswork/next-parse-int
[license-url]: https://github.com/afeiship/next-parse-int/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-parse-int
[size-url]: https://github.com/afeiship/next-parse-int/blob/master/dist/next-parse-int.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-parse-int
[download-url]: https://www.npmjs.com/package/@jswork/next-parse-int