Package Exports
- percent-value
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (percent-value) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
percent-value

Percentage helper functions.
☁️ Installation
$ npm i --save percent-value📋 Example
const percent = require("percent-value");
console.log(percent(10).of(50));
// 20
console.log(percent(50).get(20));
// 10
console.log(percent(20).from(50));
// 10
console.log(percent(20).is(10));
// 50
console.log(percent("10%").from(420));
// 42📝 Documentation
percentValue()
😋 How to contribute
Have an idea? Found a bug? See how to contribute.
💫 Where is this library used?
If you are using this library in one of your projects, add it in this list. ✨
fixed-or-percent—Get the percent or fixed value.
