0.0.8 • Published 5 months ago

engineering-unit-converter v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

engineering-unit-converter

A light and simple library for make all type measures conversions and manipulations. Used convert-units as a reference.

Installation

npm install engineering-unit-converter

Usage

engineering-unit-converter uses TypeScript to infer the available units, I strongly recommend using it for making the dev experience better.

Using this library is simple, the above snippet shows an example:

import { massFlow } from 'engineering-unit-converter'
const newValue = massFlow(65000).from('lb/day').to('kg/h')
console.log(newValue) //1228.4818798922718

Available units

  • acceleration
  • area
  • density
  • electricCharge
  • electricCurrent
  • energy
  • force
  • length
  • massFlow
  • mass
  • power
  • pressureManometric
  • pressure
  • speed
  • standardVolumetricFlow
  • surfaceTension
  • time
  • viscosity
  • voltage
  • volume
  • volumetricFlow
0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago