A simple JavaScript code coverage library for both browser and Node.js environments.
Blanket.js is a JavaScript code coverage library that instruments source code to track line execution during tests. It helps developers measure test coverage by identifying which parts of their code are exercised by test suites, supporting both browser and Node.js environments.
JavaScript developers and teams who need a straightforward tool to measure code coverage in their test suites, particularly those using QUnit or Mocha.
Developers choose Blanket.js for its simplicity and ease of use, offering a lightweight alternative to more complex coverage tools with seamless integration into existing workflows.
blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Emphasizes ease of installation and use with minimal configuration, as highlighted in the philosophy and getting started guides for quick adoption.
Works seamlessly in both browser and Node.js environments, allowing developers to track coverage consistently across client and server-side code.
Connects directly with QUnit and Mocha, outputting coverage details after tests complete without complex setup, as shown in the intermediate guides.
Offers plugins like grunt-blanket and grunt-blanket-qunit for headless testing and coverage enforcement in build processes, enhancing automation.
The project is explicitly marked as not actively maintained in the README, leading to potential security issues, bugs, and incompatibility with newer tools.
Primarily supports older test runners like QUnit and Mocha, with no mention of integration with contemporary frameworks such as Jest or Vitest.
Throws XHR cross-domain errors when run with file:// protocol, requiring workarounds that complicate local testing, as noted in the special features guide.