{"id":24084652,"url":"https://github.com/newdash/newdash","last_synced_at":"2025-07-30T01:33:24.052Z","repository":{"id":36986447,"uuid":"266947587","full_name":"newdash/newdash","owner":"newdash","description":"typescript utilities","archived":false,"fork":false,"pushed_at":"2025-07-25T23:33:02.000Z","size":41167,"stargazers_count":9,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T01:28:01.335Z","etag":null,"topics":["deno","javascript","nodejs","typescript","utilities"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/newdash.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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,"zenodo":null}},"created_at":"2020-05-26T04:53:40.000Z","updated_at":"2025-07-25T18:42:59.000Z","dependencies_parsed_at":"2023-12-16T02:25:17.891Z","dependency_job_id":"9eecdcfa-1077-485d-b334-d1021544c2eb","html_url":"https://github.com/newdash/newdash","commit_stats":{"total_commits":9016,"total_committers":327,"mean_commits":"27.571865443425075","dds":"0.26264418811002666","last_synced_commit":"94bdf41a9a56b46ff9aa67f2dbad3eea83cfa881"},"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"purl":"pkg:github/newdash/newdash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newdash%2Fnewdash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newdash%2Fnewdash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newdash%2Fnewdash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newdash%2Fnewdash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newdash","download_url":"https://codeload.github.com/newdash/newdash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newdash%2Fnewdash/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267792658,"owners_count":24144929,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deno","javascript","nodejs","typescript","utilities"],"created_at":"2025-01-10T00:39:36.237Z","updated_at":"2025-07-30T01:33:24.010Z","avatar_url":"https://github.com/newdash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NewDash\n\n[![Github CI](https://github.com/newdash/newdash/actions/workflows/nodejs.yml/badge.svg)](https://github.com/newdash/newdash/actions/workflows/nodejs.yml)\n[![Deno CI](https://github.com/newdash/newdash/actions/workflows/deno.yml/badge.svg)](https://github.com/newdash/newdash/actions/workflows/deno.yml)\n\n[![Codecov](https://codecov.io/gh/newdash/newdash/branch/master/graph/badge.svg)](https://codecov.io/gh/newdash/newdash)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=newdash_newdash\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=newdash_newdash)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=newdash_newdash\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=newdash_newdash)\n[![Netlify](https://img.shields.io/netlify/267b7429-c295-4d0e-90d0-97d772b9a821?label=docs)](https://newdash.netlify.fornever.org/)\n\n[![npm (scoped)](https://img.shields.io/npm/v/@newdash/newdash?label=newdash)](https://www.npmjs.com/package/@newdash/newdash)\n[![npm (scoped)](https://img.shields.io/npm/v/@newdash/newdash-deno?label=deno)](https://www.npmjs.com/package/@newdash/newdash-deno)\n[![npm (scoped)](https://img.shields.io/npm/v/@newdash/newdash-es5?label=es5)](https://www.npmjs.com/package/@newdash/newdash-es5)\n[![npm (scoped)](https://img.shields.io/npm/v/@newdash/newdash-es6?label=es6)](https://www.npmjs.com/package/@newdash/newdash-es6)\n[![npm (scoped)](https://img.shields.io/npm/v/@newdash/newdash-umd?label=umd)](https://www.npmjs.com/package/@newdash/newdash-umd)\n\n**NewDash** is a hard fork of the [lodash](https://github.com/lodash/lodash) utility project, and re-build it with `typescript`.\n\n## Quick Start\n\n### ESM\n\n```js\nimport first from \"@newdash/newdash-es6/first\" // only load `first` function\nfirst(\"abc\")\n// =\u003e \"a\"\n```\n\n### NodeJS\n\nworks as you want.\n\n```js\n// const { first } = require(\"@newdash/newdash\")\nconst { first } = require(\"@newdash/newdash/first\") // Compatible with es6 module\nfirst(\"abc\")\n// =\u003e \"a\"\n```\n\n### ES6 or Typescript\n\n```js\n// import { first } from \"@newdash/newdash\" // load all functions of @newdash\nimport first from \"@newdash/newdash/first\" // only load `first` function\nfirst(\"abc\")\n// =\u003e \"a\"\n```\n\n\n### Deno Runtime\n\nimport from CDN, remember to add `.ts` suffix.\n\n```js\n// import { add } from \"https://cdn.jsdelivr.net/npm/@newdash/newdash-deno/index.ts\"\nimport { add } from \"https://cdn.jsdelivr.net/npm/@newdash/newdash-deno/add.ts\"\n\nadd(1, 2)\n// =\u003e 3\nadd('1', '2')\n// =\u003e '12'\nadd('1', 2) // different types\n// throw error: TS2345 [ERROR]: Argument of type '2' is not assignable to parameter of type '\"1\"'.\n```\n\n### UMD Module (Browser Native)\n\njust introduce `script` with html.\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/@newdash/newdash-umd/newdash.min.js\"\u003e\u003c/script\u003e\n```\n\n## [API Document](https://newdash.netlify.fornever.org/)\n\n### Highlight\n\n- [`concurrency/limit`](https://newdash.netlify.fornever.org/modules/concurrency_limit.html#limit) - limit concurrency of async operations\n- [`Mutex`](https://newdash.netlify.fornever.org/classes/functional_mutex.mutex#constructor) - exclusive executing\n- [`hash`](https://newdash.netlify.fornever.org/modules/functional_hash.html#hash) - hash js object to stable string (MD5 based)\n- [`fallback`](https://newdash.netlify.fornever.org/variables/fallback.fallback.html) - fallback functions for resilience\n- [`LRUMap`](https://newdash.netlify.fornever.org/classes/functional_lrumap.lrumap#constructor) and [`TTLMap`](https://newdash.netlify.fornever.org/classes/functional_ttlmap.ttlmap#constructor) - Map implementations which concern about eviction\n\n## Different Release\n\nIn most cases, just use the `@newdash/newdash` package is enough.\n\n- `@newdash/newdash` - for modern `nodejs` environment, ready for all build tools which based on the nodejs `commonjs` module system (node, react, vuejs, webpack and more).\n- `@newdash/newdash-deno` - for deno language support, with some transform, like add the '.ts' suffix for modules.\n- `@newdash/newdash-es5` - for old `nodejs` environment, ready for `0.12 \u003c= node version \u003c= 8`.\n- `@newdash/newdash-es6` - for modern build system, with `es6` module keywords so that build tool could strip the unused modules.\n- `@newdash/newdash-umd` - for native browser without any build system, please access it with `unpkg` or `jsdeliver`\n\n## [CHANGELOG](./CHANGELOG.md)\n\n## [LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewdash%2Fnewdash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewdash%2Fnewdash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewdash%2Fnewdash/lists"}