@jsenv/core
v39.5.23
Published
Tool to develop, test and build js projects
Downloads
4,807
Readme
@jsenv/core
Jsenv is a suite of tools that can be used in projects involving JavaScript.
@jsenv/core
goal is too provide the following tools:
- dev server; a server for source files
- build; generate an optimized version of source files into a directory
- build server; a server for build files
- test runner; execute all test files at once
It favors standards and simplicity.
As a result it can be enjoyed by people without much experience in tooling or seeking for simple tools without hidden complexities.
If you want to try jsenv on your machine, use @jsenv/cli.
Link to documentation
The best parts
- Test files are executed like standard files
- Isolated environment for each test file
- Execute tests in multiple browsers: Chrome, Safari, Firefox
- Large browser support during dev. Because some people might be happy to use an other browser than the latest chrome during dev. Moreover it is useful to reproduce bug specific to certain browsers.
- Large browser support after build. Because some product still needs to support old versions of Firefox, Chrome and Safari.
- Single set of files after build. Because a single one is simpler to properly support in every aspects.
- Versioning during build is robust and avoids cascading hash changes↗
- Advanced support of top level await, allowing to use it everywhere
- Advanced support of web workers including worker type module
- Unlock js module features on a classic
<script>
.