Skip to content

WattSense/qudtlib-js

 
 

Repository files navigation

QUDTLib: JS Unit Conversion Library based on QUDT (Parent project for building)

Provides unit conversion and related functionality for Javascript (Typescript).

Makes all conversions and related functionality defined by the excellent QUDT ontology

Packages:

Building

This monorepo project is built with lerna.

At the top level of the project, do

npm run build-complete

If this build succeeds, the packages @qudtlib/core and @qudtlib/allunits are ready to be published.

To fix code style issues reported during the build, do

npm run format-apply

Updating units

The file allunits/src/units.ts is generated by qudtlib-java/qudtlib-js-gen. For this reason, that project includes the qudtlib-js project (i.e. this project) as a git submodule. By default, a maven build of qudtlib-java generates the units file, which should be pushed if it has changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.9%
  • JavaScript 0.1%