{"library":"lite-fixture","type":"library","category":null,"description":"lite-fixture is a lightweight utility designed to create and manage temporary DOM elements for browser-based testing environments. It simplifies the setup and teardown of test fixtures, allowing developers to easily create a `sandbox` element (or multiple with specific IDs/styles) and ensure their removal using `cleanup()`. The current stable version is 1.0.2. It focuses on minimal API surface for direct DOM manipulation, making it suitable for simple unit tests that require a live DOM. While functional and stable, the package appears to be minimally maintained, with its last update several years ago, which implies a low release cadence. Its primary differentiator is its extreme simplicity and small footprint compared to more comprehensive testing frameworks.","language":"javascript","status":"maintenance","version":"1.0.2","tags":["javascript","test","fixture"],"last_verified":"Wed May 27","install":[{"cmd":"npm install lite-fixture","imports":["const { sandbox } = require('lite-fixture');","const { cleanup } = require('lite-fixture');"]},{"cmd":"yarn add lite-fixture","imports":[]},{"cmd":"pnpm add lite-fixture","imports":[]}],"homepage":null,"github":"https://github.com/sculove/lite-fixture","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lite-fixture","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/lite-fixture/compatibility"}}