Skip to content

jsenv/core

Repository files navigation

@jsenv/core

npm package

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:

  1. dev server; A server that serves source files, facilitating development with live reloading.
  2. build; Optimizes source files into a specified directory for production.
  3. build server; Serves the built files, allowing for testing and verifying the production build.
  4. 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

The best parts

  • 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.

About

Develop, test and build JavaScript projects

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages