A lightweight node package manager written in go.
- Install Go
- Clone the repository
- Run
go build && go install
grog install [package]
grog install [package]@[version]
In order to properly use grog, you must use the --preserve-symlinks
flag when running node yourfile.js
.
CLEAN INSTALLATION
Benchmark of bun vs. grog using hyperfine
Due to the nature of HTTP, it is hard to give an accurate answer on who is "faster", as there are plenty of times bun is faster than grog.
Benchmark of npm vs. grog using hyperfine
grog install
: Installs a package, and caches the specific version in the$HOME/.grog/cache
directory.grog clear
: Clears the cache.grog uninstall
: Uninstalls a package.- The generation of package locks for each installed package to avoid the re-retrieval of dependencies.
- Terminal user interface.
grog update
: Updates a package.- Add flags to
grog clear
to clear specific packages. - Add flags to
grog uninstall
to uninstall packages within the cache, not just locally. - Creation and maintainence of a
package.json
in the working directory - Creation and maintainence of a
package-lock.json
in the project directory