@vaporsproject/units
TypeScript icon, indicating that this package has built-in type declarations

5.0.8 • Public • Published

Vapory Unit Conversion Utilities

This sub-module is part of the vapors project.

It contains functions to convert between string representations and numeric representations of numbers, including those out of the range of JavaScript.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    formatUnits,
    parseUnits,

    formatVapor,
    parseVapor,

    commify

} = require("@vaporsproject/units");

License

MIT License

Package Sidebar

Install

npm i @vaporsproject/units

Weekly Downloads

0

Version

5.0.8

License

MIT

Unpacked Size

18.6 kB

Total Files

17

Last publish

Collaborators

  • marlonhanks