Skip to content

Diogny/electric-units

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I'm using pnpm for a more efficient and clear package.json

Used in my testing website Electric Circuits.

let
	unit = new Unit('2.5mW');

unit.toString() == 2.5mW
unit.value		== 2.5
unit.prefix		== m
unit.unit		== W