UNPKG

basic-math-utils

Version:

Basic math utilities for doing some basic math operations

61 lines (45 loc) 1.97 kB
# Changelog All notable changes to this project will be documented in this file. ## [v0.3.4] - 2018-04-16 - Fix publishing on npm. - Rename package to basic-math-utils. ## [v0.3.3] - 2018-04-16 - Fix publishing on npm. ## [v0.3.2] - 2018-04-16 - Update ci image. - Release to npm. - MIT License. ## [0.3.1] - 2017-09-25 - Using rollup as module bundler. - Remove `unitUtils` and moved them into [bootstrap-styled-utils](https://module.kopaxgroup.com/styled-components/bootstrap-styled-utils). - Upgrade dependency `babel-cli` from 6.24.1 to 6.26.0. - Upgrade dependency `babel-core` from 6.24.1 to 6.26.0. - Upgrade dependency `babel-jest` from 20.0.3 to 21.0.0. - Upgrade dependency `babel-loader` from 7.0.0 to 7.1.2. - Upgrade dependency `babel-plugin-transform-es2015-modules-commonjs` from 6.24.1 to 6.26.0. - Upgrade dependency `babel-plugin-transform-object-rest-spread` from 6.23.0 to 6.26.0. - Upgrade dependency `babel-preset-env` from 1.4.0 to 1.6.0. - Upgrade dependency `eslint` from 3.19.0 to 4.6.1. - Upgrade dependency `eslint-plugin-import` from 2.2.0 to 2.2.0. - Upgrade dependency `jest-cli` from 20.0.4 to 21.0.1. - Upgrade dependency `jest-sonar-reporter` from 1.1.1 to 1.3.0. - Upgrade dependency `rollup` from 0.43.0 to 0.49.3. - Upgrade dependency `rollup-plugin-babel` from 2.7.1 to 3.0.2. - Upgrade dependency `rollup-plugin-commonjs` from 8.0.2 to 8.2.1. - Upgrade dependency `rollup-watch` from 4.0.0 to 4.3.1. ## [0.3.0] - 2017-06-20 - Using rollup as module bundler. ## [0.2.0] - unitUtils - math - addition : addition all units - subtract : subtract all units - multiply : multiply all units - divide : divide all units - rmUnit : remove units from a string - toPercent : convert a value into percent - detectUnit : return the unit - UNIT : __ENUM__ `px` `rem` `%` `em` ## [0.1.0] - rangePackage - mapBetween : calculate a value of a range range within another range