k-convert
Install
npm i k-convert
Usage
const kconvert = require;//orimport kconvert from 'k-convert';
And then, you are able to convert float numbers to the k-metric:
kconvert;//'420.5k'
Or convert strings using the k-metric to float numbers:
kconvert;//23200