{"library":"test-mixer","type":"library","category":null,"description":"test-mixer is a JavaScript/TypeScript utility library designed to assist with testing by programmatically generating variations of JavaScript option objects. Its primary function is to create all possible combinations of boolean properties within a given default options object, which is highly useful for comprehensive test coverage without manually listing every permutation. The current stable version is 4.2.3. The library allows users to \"pin\" specific option values, effectively reducing the number of combinations generated by fixing certain parameters while iterating through others. Unlike some other testing utilities, test-mixer focuses specifically on combinatorial generation of option objects, making it a specialized tool for ensuring robust test suites, particularly for functions that accept configuration objects with many boolean flags. It is distributed as a pure ESM package and requires Node.js >=14.18.0.","language":"javascript","status":"active","version":"4.2.3","tags":["javascript","combinations","helper","mixer","object","options","opts","test","variations","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install test-mixer","imports":["import { mixer } from 'test-mixer';","import type { MixerOpts } from 'test-mixer';","import { mixer } from 'test-mixer';"]},{"cmd":"yarn add test-mixer","imports":[]},{"cmd":"pnpm add test-mixer","imports":[]}],"homepage":"https://codsen.com/os/test-mixer","github":"https://github.com/codsen/codsen","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/test-mixer","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/test-mixer/compatibility"}}