Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

humaine-anac/utils-js

Repository files navigation

@humaine/utils

A utility library for the HUMAINE applications.

Setup

npm install

Usage

import { quantize } from '@humaine-utils/math'

quantize(1.324, 2); // 1.32

import { optionsToUrl } from '@humaine-utils/url';

optionsToUrl({host: 'localhost'}); // http://localhost

Contributing

We are open to contributions.

  • The software is provided under the MIT license. Contributions to this project are accepted under the same license.
  • Please also ensure that each commit in the series has at least one Signed-off-by: line, using your real name and email address. The names in the Signed-off-by: and Author: lines must match. If anyone else contributes to the commit, they must also add their own Signed-off-by: line. By adding this line the contributor certifies the contribution is made under the terms of the Developer Certificate of Origin (DCO).
  • Questions, bug reports, et cetera are raised and discussed on the issues page.
  • Please make merge requests into the master branch.