Skip to content
/ grog Public

🐸 A lightweight node package manager written in go.

Notifications You must be signed in to change notification settings

LOTaher/grog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐸 grog

A lightweight node package manager written in go.

Installation

  • Install Go
  • Clone the repository
  • Run go build && go install

Usage

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.

How fast is grog?

CLEAN INSTALLATION

Benchmark of bun vs. grog using hyperfine

Grog vs Bun Benchmark React

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 vs NPM Benchmark React

Features

  • 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.

Coming Soon

  • 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

About

🐸 A lightweight node package manager written in go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages