{"id":13495726,"url":"https://github.com/nachoaldamav/ultra","last_synced_at":"2025-04-14T23:31:38.162Z","repository":{"id":58408709,"uuid":"528163357","full_name":"nachoaldamav/ultra","owner":"nachoaldamav","description":"JavaScript package manager","archived":true,"fork":false,"pushed_at":"2023-02-23T22:51:13.000Z","size":11803,"stargazers_count":561,"open_issues_count":10,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T09:45:30.033Z","etag":null,"topics":["cli","node","nodejs","npm","packagemanager","typescript"],"latest_commit_sha":null,"homepage":"https://ultrapkg.dev/","language":"TypeScript","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/nachoaldamav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-08-23T21:08:22.000Z","updated_at":"2025-03-04T12:51:14.000Z","dependencies_parsed_at":"2024-01-14T03:33:57.554Z","dependency_job_id":"d2da68b4-3551-4b96-81bb-ef1638373793","html_url":"https://github.com/nachoaldamav/ultra","commit_stats":{"total_commits":440,"total_committers":10,"mean_commits":44.0,"dds":"0.045454545454545414","last_synced_commit":"8fde3a373071060457589d11c5faaffa1475cdf8"},"previous_names":["nachoaldamav/snpm","nachoaldamav/fnpm"],"tags_count":180,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nachoaldamav%2Fultra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nachoaldamav%2Fultra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nachoaldamav%2Fultra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nachoaldamav%2Fultra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nachoaldamav","download_url":"https://codeload.github.com/nachoaldamav/ultra/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248978748,"owners_count":21192836,"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":["cli","node","nodejs","npm","packagemanager","typescript"],"created_at":"2024-07-31T19:01:37.594Z","updated_at":"2025-04-14T23:31:36.392Z","avatar_url":"https://github.com/nachoaldamav.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","cli"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://ultrapkg.dev\"\u003e\n  \u003cimg width=\"480\" src=\"https://ultrapkg.dev/images/banner_gh.svg\" /\u003e\n  \u003c/a\u003e\n  \u003cp\u003e\u003ch3\u003e\u003cstrong\u003e⚡ \u003cstrong\u003eUltra\u003c/strong\u003e is a faster and lightweight alternative for NPM\u003c/strong\u003e\u003c/h3\u003e\u003c/p\u003e\n  \u003ca href=\"https://ultrapkg.dev/docs/get-started\"\u003e📚 Documentation\u003c/a\u003e\n  \u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n  \u003ca href=\"https://github.com/nachoaldamav/ultra/tree/main/examples\"\u003e📦 Examples\u003c/a\u003e\n  \u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n  \u003ca href=\"#-benchmarks\"\u003e⚡ Benchmarks\u003c/a\u003e\n  \u003cbr /\u003e\u003cbr /\u003e\n\u003c/div\u003e\n\n## 🚀 Getting Started\n\n\u003e 🚧 This project still in an early stage of development, for now you should only use it to test it.\n\nYou will need:\n\n- 🍃 [Node.js v16](https://nodejs.org/en/) or higher.\n- 💻 Linux or Mac OS (Partial support for Windows).\n\n### **Install:**\n\n```bash\nnpm i ultra-pkg -g\n```\n\n## 🔭 Commands\n\n| Command                                 | Description                                                             |\n| --------------------------------------- | ------------------------------------------------------------------------|\n| `ultra install [pkg (optional), flags]` | Install packages.                                                       |\n| `ultra run \u003cscript\u003e \u003cparams\u003e`           | Run script from package.json                                            |\n| `ultra create \u003ctemplate\u003e \u003carguments\u003e`   | Create a project from a template (Similar to npm create).               |\n| `ultra benchmark`                       | Tests ULTRA against NPM, Yarn Classic, PNPM and Bun.                    |\n| `ultra clear`                           | Remove .ultra-cache and manifests cache, node_modules and `ultra.lock`. |\n| `ultra ls \u003cpkg\u003e`                        | Show versions installed by ULTRA.                                       |\n| `ultra remove \u003cpkg\u003e`                    | Remove a dependency from the `package.json`                             |\n| `ultra set registry \u003curl\u003e`              | Set default registry                                                    |\n| `ultra ci`                              | Installs dependencies from `ultra.lock` without cache (WIP)             |\n\n## 🗒️ Todo\n\n- [ ] Make it work in some JS Frameworks ([Follow progress here](https://github.com/nachoaldamav/ultra/issues?q=is%3Aissue+is%3Aopen+label%3Aframeworks)).\n- [ ] Fix monorepos integration (WIP, degradated performance in some repos).\n\n## 🤔 FAQ\n\n- **Why is it faster?**\n\nULTRA uses the same installation system as PNPM, fetch dependency, download dependency. Without waiting for the rest of the dependencies.\n\nNow you are probably wondering how that makes the space more efficient than in NPM.\n\nEach dependency is a hard link to a common store inside `.ultra-cache`, so all your projects use shared dependencies.\n\n- **It works?**\n\nI've selected some quickstart templates to test ULTRA, and I'm working on make it work in all of them.\n\nIf you want to test a template, you can use Next or Vite for example, I've already tested them and it should work.\n\n(If you want to test a template and it doesn't work, please open an issue)\n\n## ⚡ Benchmarks\n\n- **▲ [Next.js](https://nextjs.org/) with TypeScript:**\n\nThis example is generated using `npx create-next-app --use-npm --ts`\n\n```bash\n  Node.js: v18.10.0\n  OS: linux\n  ULTRA version: 0.6.9\n  Current project: next-ultra (0.1.0)\n\n┌─────────┬─────────────────────────────────────────────────┬──────────┬───────┐\n│ (index) │                      name                       │   time   │ group │\n├─────────┼─────────────────────────────────────────────────┼──────────┼───────┤\n│    0    │   'Bun install (with cache / with lockfile)'    │ '0.17s'  │   3   │\n│    1    │   'ULTRA install (with cache / with lockfile)'  │ '0.92s'  │   3   │\n│    2    │    'ULTRA install (with cache / no lockfile)'   │ '1.12s'  │   2   │\n│    3    │   'PNPM install (with cache / with lockfile)'   │ '3.34s'  │   3   │\n│    4    │    'PNPM install (with cache / no lockfile)'    │ '4.58s'  │   2   │\n│    5    │   'YARN install (with cache / with lockfile)'   │ '5.12s'  │   3   │\n│    6    │   'NPM install (with cache / with lockfile)'    │ '6.02s'  │   3   │\n│    7    │    'Bun install (with cache / no lockfile)'     │ '6.74s'  │   2   │\n│    8    │    'NPM install (with cache / no lockfile)'     │ '7.81s'  │   2   │\n│    9    │     'Bun install (no cache / no lockfile)'      │ '17.12s' │   1   │\n│   10    │     'ULTRA install (no cache / no lockfile)'    │ '17.83s' │   1   │\n│   11    │     'PNPM install (no cache / no lockfile)'     │ '18.45s' │   1   │\n│   12    │    'YARN install (with cache / no lockfile)'    │ '21.30s' │   2   │\n│   13    │     'NPM install (no cache / no lockfile)'      │ '24.26s' │   1   │\n│   14    │     'YARN install (no cache / no lockfile)'     │ '49.79s' │   1   │\n└─────────┴─────────────────────────────────────────────────┴──────────┴───────┘\n```\n\n- **[Vite](https://vitejs.dev/) with TypeScript:**\n\nThis example is generated using `npx create-vite-app --template react-ts`\n\n```bash\nNode.js: v18.10.0\nOS: linux\nULTRA version: 0.6.9\nCurrent project: ultra-vite-demo (0.0.0)\n\n┌─────────┬─────────────────────────────────────────────────┬──────────┬───────┐\n│ (index) │                      name                       │   time   │ group │\n├─────────┼─────────────────────────────────────────────────┼──────────┼───────┤\n│    0    │   'Bun install (with cache / with lockfile)'    │ '0.05s'  │   3   │\n│    1    │    'ULTRA install (with cache / no lockfile)'   │ '0.52s'  │   2   │\n│    2    │   'ULTRA install (with cache / with lockfile)'  │ '0.56s'  │   3   │\n│    3    │   'YARN install (with cache / with lockfile)'   │ '1.35s'  │   3   │\n│    4    │   'PNPM install (with cache / with lockfile)'   │ '1.43s'  │   3   │\n│    5    │   'NPM install (with cache / with lockfile)'    │ '2.24s'  │   3   │\n│    6    │    'NPM install (with cache / no lockfile)'     │ '2.88s'  │   2   │\n│    7    │     'Bun install (no cache / no lockfile)'      │ '3.23s'  │   1   │\n│    8    │    'PNPM install (with cache / no lockfile)'    │ '3.60s'  │   2   │\n│    9    │    'Bun install (with cache / no lockfile)'     │ '3.62s'  │   2   │\n│   10    │    'YARN install (with cache / no lockfile)'    │ '6.35s'  │   2   │\n│   11    │     'PNPM install (no cache / no lockfile)'     │ '6.58s'  │   1   │\n│   12    │     'ULTRA install (no cache / no lockfile)'    │ '7.75s'  │   1   │\n│   13    │     'YARN install (no cache / no lockfile)'     │ '11.51s' │   1   │\n│   14    │     'NPM install (no cache / no lockfile)'      │ '16.38s' │   1   │\n└─────────┴─────────────────────────────────────────────────┴──────────┴───────┘\n```\n\n\u003e The commands with no-cache executes `npm cache clean -f` to delete NPM Cache files and runs `ultra clear` to remove Ultra cache folders.\n\n## 🧑‍🤝‍🧑 Contributors\n\n\u003ca href=\"https://github.com/nachoaldamav/ultra/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=nachoaldamav/ultra\" /\u003e\n\u003c/a\u003e\n\nMade with [contrib.rocks](https://contrib.rocks).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnachoaldamav%2Fultra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnachoaldamav%2Fultra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnachoaldamav%2Fultra/lists"}