@hugov/browse
v0.2.0
Published
run in browser
Downloads
1
Readme
browse
because it should not be so complicated - run code in browser with watch mode and reload
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)