Jsenv is a suite of tools that can be used in projects involving JavaScript.
The goal of @jsenv/core
is to provide the following tools:
- dev server; A server that serves source files, facilitating development with live reloading.
- build; Optimizes source files into a specified directory for production.
- build server; Serves the built files, allowing for testing and verifying the production build.
- test runner; Runs test files concurrently, ensuring code reliability.
Jsenv prioritizes standards and simplicity, making it ideal for both beginners and those who need straightforward tools without unnecessary complexities.
To try jsenv on your machine, use @jsenv/cli.
For additional details, consult the documentation
- Robust versioning during build: Avoids cascading hash changes↗.
- Load js module with classic script: See the asJsClassic plugin.
- Large browser support after build: Ensures compatibility with older versions of Firefox, Chrome, and Safari.
- Advanced support of top level await.
- Advanced support of web workers.
- Test files are executed like standard files.
- Isolated environment for each test file: Ensures tests run independently, preventing side effects.
- Single set of files after build: Simplifies support and deployement with a single set of files.
- Execute tests in multiple browsers: Supports Chrome, Safari, and Firefox.
- Extensive browser support during dev: Allows the use of various browsers beyond the latest Chrome, which is useful for reproducing browser-specific bugs.