/GravyMoat

Primary LanguageJavaScriptMIT LicenseMIT

GravyMoat

gravymoat logo

Not as hot as lava, but still sticky.

A cursed attempt at rebuilding LavaMoat with Node.js' module customization hooks.

Prerequisites

Node.js v20.0.0+

Try It

Install and run:

npm install && npm start

You can then:

  • Open register.js and try different policies from the list. Try your own!
  • Feeling lazy? You can see what would happen if you did.

Note: It's using a simplified policy and doesn't support relative specifiers inside node_modules, so don't change the example too much

Disclaimer

The gravy is not fit for human consumption.

License

Copyright © 2024 Consensys, Inc. Licensed MIT