1.0.2 • Published 9 months ago

@agent_z/egg v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago
                            ████████
                          ██        ██
                        ██▒▒▒▒        ██
                      ██▒▒▒▒▒▒      ▒▒▒▒██
                      ██▒▒▒▒▒▒      ▒▒▒▒██
                    ██  ▒▒▒▒        ▒▒▒▒▒▒██
                    ██                ▒▒▒▒██
                  ██▒▒      ▒▒▒▒▒▒          ██
                  ██      ▒▒▒▒▒▒▒▒▒▒        ██
                  ██      ▒▒▒▒▒▒▒▒▒▒    ▒▒▒▒██
                  ██▒▒▒▒  ▒▒▒▒▒▒▒▒▒▒  ▒▒▒▒▒▒██
                    ██▒▒▒▒  ▒▒▒▒▒▒    ▒▒▒▒██
                    ██▒▒▒▒            ▒▒▒▒██
                      ██▒▒              ██
                        ████        ████
                            ████████

@agent_z/egg

To install egg, Simply run npm i -g @agent_z/egg. Want to use another package manager? Check the notice!

cli tool

The cli tool is your main access point to the egg interpreter. However, Some may find it slow. To switch to a faster, Minimal version, just run egg minimal and you will be taken into a familiar, Blazingly fast environment. To upgrade your minimal version incase you made changes to the fancy version or have just ran an update, Run egg sync to call the fancy version and update your minimal cli. (WARNING: The minimal version requires the fancy version to be ran ATLEAST once, Do not modify the settings in the package itself without building the minimal cli first.)

all cli tool commands:

  • egg Main, Switchable cli interface
  • fegg Always fancy version (fancy egg)
  • megg Always minimal version (minimal egg) (REQUIRES fancy version to be ran atleast once)

List of compatible package managers

  • npm
  • pnpm
  • bun

Why Yarn doesn't work

Egg uses Bun as its main runtime to cut slack and run the typescript directly and efficiently. So, Bun is naturally included in its dependencies. However, Yarn does not allow linking binaries, So yarn will throw an error and die during the installation process. Any other package manager is fine though!

Recommendations

I recommend you install bun from the official website before installing Egg, As I have not tested wether the bun dependency works well on devices without bun installed or not.

Syntax guide

Coming soon!

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago