Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/afeiship/digits-split

Digits split to standard numers.
https://github.com/afeiship/digits-split

bun digits-split num number unittest

Last synced: 3 months ago
JSON representation

Digits split to standard numers.

Awesome Lists containing this project

README

        

# digits-split
> Digits split to standard numers.

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

## installation
```shell
npm install @jswork/digits-split
```

## usage
```js
import digitsSplit from '@jswork/digits-split';

digitsSplit(1024);

// [1000, 0, 20, 4]
```

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

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

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

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

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