Tags: convert-units/convert-units
Tags
-
Sep 18, 2022 - e3bc0d9
- zip
- tar.gz
- E9C1 Notes
- Downloads
Support Custom Measures (#194) * Support Custom Measures - Remove definitions imports from the index file. This will allow for bundlers to tree shake the definitions not being used. - Provide a function which accepts a measures object. This measures object can contain any measures as long as they conform to the correct object shape/structure. It returns a factory function which when called, creates a new Convert object. - Update all tests to only import the measures they need * Update README and set version to beta - Update README with documentation for the new api changes and how to move from the older api to the new api - Bump version to a beta version. This is the first step to creating a beta release for npm * Add an easy way to use all packaged measures - Add allMeasures which contains all the measures packaged in the library - Update the README with examples using allMeasures * Fix linting errors * Ordered Imports - Add eslint rules for ordered imports - Add prettier plugin to auto format imports. Added this because I don't like managing imports :E The general idea is to decrease code maintance overhead. * Order allMeasures to reflect import order
PreviousNext