0.2.0 • Published 3 years ago

@hugov/browse v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

browse

because it should not be so complicated - run code in browser with watch mode and reload

WhyHowLicense

Why

  • need to just run a file in browser with no side effects (cache and temp files)
  • Parcel CLI always creates .parcel-cache folders, even with --no-cache
  • Vite CLI creates .parcel-cache folders
  • Snowpack CLI serves a whole folder

How

Global

Once: npm i -g @hugov/browse Anywhere: browse pathToMyScript.js

Local

Once: npm i -D @hugov/browse Anywhere: npx browse pathToMyScript.js

Limitations

  • Only chrome (uses Chrom Launcher and flags)
  • no html entry for now (script/modules only)

License

MIT © Hugo Villeneuve