{"id":19252733,"url":"https://github.com/morevm/utils","last_synced_at":"2026-03-08T01:16:39.551Z","repository":{"id":37040697,"uuid":"459268909","full_name":"MorevM/utils","owner":"MorevM","description":"Collection of  JS / TS utilities","archived":false,"fork":false,"pushed_at":"2024-12-15T11:23:59.000Z","size":2192,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T21:18:26.496Z","etag":null,"topics":["helpers","typescript","utils"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MorevM.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2022-02-14T17:57:25.000Z","updated_at":"2024-12-15T11:24:03.000Z","dependencies_parsed_at":"2023-10-15T16:59:10.593Z","dependency_job_id":"30ebcefc-b5c5-4cb5-8b0f-a7c2b4c32db4","html_url":"https://github.com/MorevM/utils","commit_stats":null,"previous_names":["morevm/helpers"],"tags_count":97,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Futils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Futils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Futils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Futils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorevM","download_url":"https://codeload.github.com/MorevM/utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250064626,"owners_count":21368943,"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":["helpers","typescript","utils"],"created_at":"2024-11-09T18:28:14.280Z","updated_at":"2026-03-04T22:32:01.295Z","avatar_url":"https://github.com/MorevM.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Promo image of @morev/utils package](./.github/images/banner.svg)\n\n![Stability of \"master\" branch](https://img.shields.io/github/actions/workflow/status/MorevM/utils/build.yaml?branch=master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n![Last commit](https://img.shields.io/github/last-commit/morevm/utils)\n![Release version](https://img.shields.io/github/v/release/morevm/utils?include_prereleases)\n![GitHub Release Date](https://img.shields.io/github/release-date/morevm/utils)\n![Keywords](https://img.shields.io/github/package-json/keywords/morevm/utils)\n\n# @morev/utils\n\n100+ fully typed JavaScript utilities for everyday use. \\\n100+ TypeScript utility types.\n\n---\n\n\u003e **IMPORTANT:** The library is not transpiled.\n\u003e\n\u003e By keep transpiling libraries we push web backward with legacy code which is unneeded for most of the users.\n\u003e\n\u003e If you need to support legacy users, you can optionally transpile the library in your build pipeline.\n\n## Installation\n\n```sh\n# Using `yarn`\nyarn add @morev/utils\n\n# Using `npm`\nnpm install @morev/utils\n\n# Using `pnpm`\npnpm add @morev/utils\n```\n\n## Usage\n\nJust import/require needed utilities/types and use them :)\n\n```ts\nimport { clamp } from '@morev/utils';\nimport type { ArrayOf } from '@morev/utils';\n\n// CJS\nconst { arrayShuffle } = require('@morev/utils');\n```\n\n## Acknowledgments\n\n- [fast-copy](https://github.com/planttheidea/fast-copy) for `deepClone` and `deepCloneStrict` utilities;\n- [fast-equals](https://github.com/planttheidea/fast-equals) for `deepEqual` and `deepEqualCircular` utilities;\n- [ohash](https://github.com/unjs/ohash) for `hash` utility;\n- [type-fest](https://github.com/sindresorhus/type-fest) for many utility types.\n- `object-to-formdata` utility mostly inspired by [object-to-formdata](https://github.com/therealparmesh/object-to-formdata) package,\n  but public API and implementation is a bit different according to my experience and needs.\n- [awaity](https://github.com/asfktz/Awaity.js) for an inspiration and initial code base of the `asyncArray` utility.\n- [set-cookie-parser](https://github.com/nfriedly/set-cookie-parser/) for the basic implementation of the `parseResponseCookie` utility and tests.\n- [cookie](https://github.com/jshttp/cookie) for the basic implementation of the `serializeCookie` utility and its tests.\n- [compute-gcd](https://github.com/compute-io/gcd) for the implementation of the `gcd` utility and its tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorevm%2Futils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorevm%2Futils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorevm%2Futils/lists"}