{"id":18577451,"url":"https://github.com/ecomplus/utils","last_synced_at":"2025-04-10T09:30:53.599Z","repository":{"id":36989314,"uuid":"193767597","full_name":"ecomplus/utils","owner":"ecomplus","description":"Isomorphic JS utility functions to E-Com Plus (not only) related apps","archived":false,"fork":false,"pushed_at":"2025-03-31T17:10:38.000Z","size":3676,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T20:57:00.398Z","etag":null,"topics":["e-commerce","ecommerce-apps","ecomplus","ecomutils","javascript-utils","utility-functions"],"latest_commit_sha":null,"homepage":"https://developers.e-com.plus/utils/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecomplus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-25T19:05:21.000Z","updated_at":"2025-03-03T17:51:44.000Z","dependencies_parsed_at":"2023-02-13T01:16:25.718Z","dependency_job_id":"300372bb-d337-458b-bbc5-4a8d76ac00a5","html_url":"https://github.com/ecomplus/utils","commit_stats":{"total_commits":440,"total_committers":5,"mean_commits":88.0,"dds":0.4181818181818182,"last_synced_commit":"c3902d61392d194e833148eaca1c8f80e41e1759"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Futils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Futils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Futils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Futils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecomplus","download_url":"https://codeload.github.com/ecomplus/utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248191646,"owners_count":21062544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["e-commerce","ecommerce-apps","ecomplus","ecomutils","javascript-utils","utility-functions"],"created_at":"2024-11-06T23:29:15.141Z","updated_at":"2025-04-10T09:30:52.165Z","avatar_url":"https://github.com/ecomplus.png","language":"JavaScript","readme":"# E-Com Plus Utils\n\n[![Publish](https://github.com/ecomplus/utils/workflows/Publish/badge.svg)](https://github.com/ecomplus/utils/actions?workflow=Publish) [![CodeFactor](https://www.codefactor.io/repository/github/ecomplus/utils/badge)](https://www.codefactor.io/repository/github/ecomplus/utils) [![npm version](https://img.shields.io/npm/v/@ecomplus/utils.svg)](https://www.npmjs.org/@ecomplus/utils) [![License MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nJS utility functions to E-Com Plus (not only) related apps\n\n[CHANGELOG](https://github.com/ecomplus/utils/blob/master/CHANGELOG.md)\n\n## Usage\n\nThe `@ecomplus/utils` package provides a [list of methods](https://developers.e-com.plus/utils/ecomUtils.html),\neach one is a utility function related to e-commerce apps and E-Com Plus APIs and schemas.\n\nIt's available for both Node.js and browser environments, and can also be imported entirely or partially with ES modules.\n\n- [Get started](https://developers.e-com.plus/utils/module-@ecomplus_utils.html)\n- [Methods](https://developers.e-com.plus/utils/ecomUtils.html)\n\n```js\nimport {\n  i18n,\n  formatMoney,\n  minQuantity,\n  price,\n  // ...\n} from '@ecomplus/utils'\n\ni18n({ en_us: 'Hello', pt_br: 'Olá' })\n// =\u003e 'Hello'\nformatMoney(10)\n// =\u003e $10.00\n```\n\n## Development\n\nFork/clone this repository and install dependencies normally:\n\n```bash\ngit clone https://github.com/ecomplus/utils\ncd utils\nnpm i\n```\n\nThen you can edit source files and test locally with `npm run serve`.\n\n### Contributing\n\nPlease read the [contribution guidelines](CONTRIBUTING.md).\n\n### Deploy\n\nTake a look on `package.json` scripts:\n\n- `npm run doc` - Update jsdoc/docdash generated documentation;\n- `npm run release` - Generate changelog and new version;\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomplus%2Futils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecomplus%2Futils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomplus%2Futils/lists"}