JavaScript package manager
See the codeπ§ This project still in an early stage of development, for now you should only use it to test it.
You will need:
npm i ultra-pkg -g
| Command | Description |
|---|---|
ultra install [pkg (optional), flags] | Install packages. |
ultra run <script> <params> | Run script from package.json |
ultra create <template> <arguments> | Create a project from a template (Similar to npm create). |
ultra benchmark | Tests ULTRA against NPM, Yarn Classic, PNPM and Bun. |
ultra clear | Remove .ultra-cache and manifests cache, node_modules and ultra.lock. |
ultra ls <pkg> | Show versions installed by ULTRA. |
ultra remove <pkg> | Remove a dependency from the package.json |
ultra set registry <url> | Set default registry |
ultra ci | Installs dependencies from ultra.lock without cache (WIP) |
ULTRA uses the same installation system as PNPM, fetch dependency, download dependency. Without waiting for the rest of the dependencies.
Now you are probably wondering how that makes the space more efficient than in NPM.
Each dependency is a hard link to a common store inside .ultra-cache, so all your projects use shared dependencies.
I've selected some quickstart templates to test ULTRA, and I'm working on make it work in all of them.
If you want to test a template, you can use Next or Vite for example, I've already tested them and it should work.
(If you want to test a template and it doesn't work, please open an issue)
This example is generated using npx create-next-app --use-npm --ts
Node.js: v18.10.0
OS: linux
ULTRA version: 0.6.9
Current project: next-ultra (0.1.0)
βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββ¬ββββββββ
β (index) β name β time β group β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββΌββββββββ€
β 0 β 'Bun install (with cache / with lockfile)' β '0.17s' β 3 β
β 1 β 'ULTRA install (with cache / with lockfile)' β '0.92s' β 3 β
β 2 β 'ULTRA install (with cache / no lockfile)' β '1.12s' β 2 β
β 3 β 'PNPM install (with cache / with lockfile)' β '3.34s' β 3 β
β 4 β 'PNPM install (with cache / no lockfile)' β '4.58s' β 2 β
β 5 β 'YARN install (with cache / with lockfile)' β '5.12s' β 3 β
β 6 β 'NPM install (with cache / with lockfile)' β '6.02s' β 3 β
β 7 β 'Bun install (with cache / no lockfile)' β '6.74s' β 2 β
β 8 β 'NPM install (with cache / no lockfile)' β '7.81s' β 2 β
β 9 β 'Bun install (no cache / no lockfile)' β '17.12s' β 1 β
β 10 β 'ULTRA install (no cache / no lockfile)' β '17.83s' β 1 β
β 11 β 'PNPM install (no cache / no lockfile)' β '18.45s' β 1 β
β 12 β 'YARN install (with cache / no lockfile)' β '21.30s' β 2 β
β 13 β 'NPM install (no cache / no lockfile)' β '24.26s' β 1 β
β 14 β 'YARN install (no cache / no lockfile)' β '49.79s' β 1 β
βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ΄ββββββββ
This example is generated using npx create-vite-app --template react-ts
Node.js: v18.10.0
OS: linux
ULTRA version: 0.6.9
Current project: ultra-vite-demo (0.0.0)
βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββ¬ββββββββ
β (index) β name β time β group β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββΌββββββββ€
β 0 β 'Bun install (with cache / with lockfile)' β '0.05s' β 3 β
β 1 β 'ULTRA install (with cache / no lockfile)' β '0.52s' β 2 β
β 2 β 'ULTRA install (with cache / with lockfile)' β '0.56s' β 3 β
β 3 β 'YARN install (with cache / with lockfile)' β '1.35s' β 3 β
β 4 β 'PNPM install (with cache / with lockfile)' β '1.43s' β 3 β
β 5 β 'NPM install (with cache / with lockfile)' β '2.24s' β 3 β
β 6 β 'NPM install (with cache / no lockfile)' β '2.88s' β 2 β
β 7 β 'Bun install (no cache / no lockfile)' β '3.23s' β 1 β
β 8 β 'PNPM install (with cache / no lockfile)' β '3.60s' β 2 β
β 9 β 'Bun install (with cache / no lockfile)' β '3.62s' β 2 β
β 10 β 'YARN install (with cache / no lockfile)' β '6.35s' β 2 β
β 11 β 'PNPM install (no cache / no lockfile)' β '6.58s' β 1 β
β 12 β 'ULTRA install (no cache / no lockfile)' β '7.75s' β 1 β
β 13 β 'YARN install (no cache / no lockfile)' β '11.51s' β 1 β
β 14 β 'NPM install (no cache / no lockfile)' β '16.38s' β 1 β
βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ΄ββββββββ
The commands with no-cache executes
npm cache clean -fto delete NPM Cache files and runsultra clearto remove Ultra cache folders.
Made with contrib.rocks.
14,857 followers Β· starred Nov 2022
39,805 followers Β· starred Oct 2022
611 followers Β· starred Oct 2022
922 followers Β· starred Oct 2022
JavaScript package manager
See the codeπ§ This project still in an early stage of development, for now you should only use it to test it.
You will need:
npm i ultra-pkg -g
| Command | Description |
|---|---|
ultra install [pkg (optional), flags] | Install packages. |
ultra run <script> <params> | Run script from package.json |
ultra create <template> <arguments> | Create a project from a template (Similar to npm create). |
ultra benchmark | Tests ULTRA against NPM, Yarn Classic, PNPM and Bun. |
ultra clear | Remove .ultra-cache and manifests cache, node_modules and ultra.lock. |
ultra ls <pkg> | Show versions installed by ULTRA. |
ultra remove <pkg> | Remove a dependency from the package.json |
ultra set registry <url> | Set default registry |
ultra ci | Installs dependencies from ultra.lock without cache (WIP) |
ULTRA uses the same installation system as PNPM, fetch dependency, download dependency. Without waiting for the rest of the dependencies.
Now you are probably wondering how that makes the space more efficient than in NPM.
Each dependency is a hard link to a common store inside .ultra-cache, so all your projects use shared dependencies.
I've selected some quickstart templates to test ULTRA, and I'm working on make it work in all of them.
If you want to test a template, you can use Next or Vite for example, I've already tested them and it should work.
(If you want to test a template and it doesn't work, please open an issue)
This example is generated using npx create-next-app --use-npm --ts
Node.js: v18.10.0
OS: linux
ULTRA version: 0.6.9
Current project: next-ultra (0.1.0)
βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββ¬ββββββββ
β (index) β name β time β group β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββΌββββββββ€
β 0 β 'Bun install (with cache / with lockfile)' β '0.17s' β 3 β
β 1 β 'ULTRA install (with cache / with lockfile)' β '0.92s' β 3 β
β 2 β 'ULTRA install (with cache / no lockfile)' β '1.12s' β 2 β
β 3 β 'PNPM install (with cache / with lockfile)' β '3.34s' β 3 β
β 4 β 'PNPM install (with cache / no lockfile)' β '4.58s' β 2 β
β 5 β 'YARN install (with cache / with lockfile)' β '5.12s' β 3 β
β 6 β 'NPM install (with cache / with lockfile)' β '6.02s' β 3 β
β 7 β 'Bun install (with cache / no lockfile)' β '6.74s' β 2 β
β 8 β 'NPM install (with cache / no lockfile)' β '7.81s' β 2 β
β 9 β 'Bun install (no cache / no lockfile)' β '17.12s' β 1 β
β 10 β 'ULTRA install (no cache / no lockfile)' β '17.83s' β 1 β
β 11 β 'PNPM install (no cache / no lockfile)' β '18.45s' β 1 β
β 12 β 'YARN install (with cache / no lockfile)' β '21.30s' β 2 β
β 13 β 'NPM install (no cache / no lockfile)' β '24.26s' β 1 β
β 14 β 'YARN install (no cache / no lockfile)' β '49.79s' β 1 β
βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ΄ββββββββ
This example is generated using npx create-vite-app --template react-ts
Node.js: v18.10.0
OS: linux
ULTRA version: 0.6.9
Current project: ultra-vite-demo (0.0.0)
βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββ¬ββββββββ
β (index) β name β time β group β
βββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββΌββββββββ€
β 0 β 'Bun install (with cache / with lockfile)' β '0.05s' β 3 β
β 1 β 'ULTRA install (with cache / no lockfile)' β '0.52s' β 2 β
β 2 β 'ULTRA install (with cache / with lockfile)' β '0.56s' β 3 β
β 3 β 'YARN install (with cache / with lockfile)' β '1.35s' β 3 β
β 4 β 'PNPM install (with cache / with lockfile)' β '1.43s' β 3 β
β 5 β 'NPM install (with cache / with lockfile)' β '2.24s' β 3 β
β 6 β 'NPM install (with cache / no lockfile)' β '2.88s' β 2 β
β 7 β 'Bun install (no cache / no lockfile)' β '3.23s' β 1 β
β 8 β 'PNPM install (with cache / no lockfile)' β '3.60s' β 2 β
β 9 β 'Bun install (with cache / no lockfile)' β '3.62s' β 2 β
β 10 β 'YARN install (with cache / no lockfile)' β '6.35s' β 2 β
β 11 β 'PNPM install (no cache / no lockfile)' β '6.58s' β 1 β
β 12 β 'ULTRA install (no cache / no lockfile)' β '7.75s' β 1 β
β 13 β 'YARN install (no cache / no lockfile)' β '11.51s' β 1 β
β 14 β 'NPM install (no cache / no lockfile)' β '16.38s' β 1 β
βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ΄ββββββββ
The commands with no-cache executes
npm cache clean -fto delete NPM Cache files and runsultra clearto remove Ultra cache folders.
Made with contrib.rocks.
14,857 followers Β· starred Nov 2022
39,805 followers Β· starred Oct 2022
611 followers Β· starred Oct 2022
922 followers Β· starred Oct 2022