@hugov/browse

0.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @hugov/browse

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

3.33 kB

Total Files

5

Last publish

Collaborators

  • hugov