Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-to-thousands
To thousands for number.
https://github.com/afeiship/next-to-thousands
next thousands
Last synced: 12 days ago
JSON representation
To thousands for number.
- Host: GitHub
- URL: https://github.com/afeiship/next-to-thousands
- Owner: afeiship
- License: mit
- Created: 2016-12-26T07:45:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-31T08:05:58.000Z (about 2 years ago)
- Last Synced: 2024-10-06T22:23:56.611Z (about 1 month ago)
- Topics: next, thousands
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-to-thousands
> To thousands for number.[![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-to-thousands
```## usage
```js
import '@jswork/next-to-thousands';nx.toThousands('10000') //10,000
nx.toThousands('100') //100
nx.toThousands(10000) //10,000
nx.toThousands(1000,'|') //1|000
```## license
Code released under [the MIT license](https://github.com/afeiship/next-to-thousands/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-to-thousands
[version-url]: https://npmjs.org/package/@jswork/next-to-thousands[license-image]: https://img.shields.io/npm/l/@jswork/next-to-thousands
[license-url]: https://github.com/afeiship/next-to-thousands/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-to-thousands
[size-url]: https://github.com/afeiship/next-to-thousands/blob/master/dist/next-to-thousands.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-to-thousands
[download-url]: https://www.npmjs.com/package/@jswork/next-to-thousands