1.0.3 • Published 1 month ago

k-converter v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

k-convert

Install

npm i k-converter

Usage

const kconvert = require("k-converter");
//or
import kconvert from 'k-converter';

And with this capability, you're able to seamlessly translate float numbers into the K-metric, enhancing clarity and precision.

kconvert.convertTo(100500);
//'10.5k'

Additionally, it empowers you to effortlessly convert strings using the K-metric into float numbers, streamlining data interpretation and analysis.

kconvert.convertFrom("50.2k");
//50200
1.0.3

1 month ago

1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago