@ecomplus/utils
Advanced tools
Weekly downloads
Readme
JS utility functions to E-Com Plus (not only) related apps
The @ecomplus/utils
package provides a list of methods,
each one is a utility function related to e-commerce apps and E-Com Plus APIs and schemas.
It's available for both Node.js and browser environments, and can also be imported entirely or partially with ES modules.
import {
i18n,
formatMoney,
minQuantity,
price,
// ...
} from '@ecomplus/utils'
i18n({ en_us: 'Hello', pt_br: 'Olá' })
// => 'Hello'
formatMoney(10)
// => $10.00
Fork/clone this repository and install dependencies normally:
git clone https://github.com/ecomplus/utils
cd utils
npm i
Then you can edit source files and test locally with npm run serve
.
Please read the contribution guidelines.
Take a look on package.json
scripts:
npm run doc
- Update jsdoc/docdash generated documentation;npm run release
- Generate changelog and new version;FAQs
JS utility functions to E-Com Plus (not only) related apps
The npm package @ecomplus/utils receives a total of 723 weekly downloads. As such, @ecomplus/utils popularity was classified as not popular.
We found that @ecomplus/utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.