{"library":"test-cmd","type":"library","category":null,"description":"The `test-cmd` package is a minimalist Node.js utility designed to facilitate the creation and execution of simple command-line test runners. Released with its latest stable version 1.7.0 over eight years ago, this package is built entirely on CommonJS modules and leverages older dependencies like `optimist` for argument parsing, `tape` for test assertions, and `through` for stream manipulation. Its primary function is to wrap shell commands and integrate them into a testing flow, making it suitable for black-box testing of command-line interfaces. Due to its age and lack of recent maintenance, it does not support modern JavaScript features like ESM or `async/await` and is generally considered superseded by contemporary testing frameworks. It has an infrequent release cadence, with its last update being many years ago, indicating it is no longer actively maintained.","language":"javascript","status":"abandoned","version":"1.7.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install test-cmd","imports":["const createCommand = require('test-cmd');","const testCmd = require('test-cmd');\ntestCmd.command(args, fn);"]},{"cmd":"yarn add test-cmd","imports":[]},{"cmd":"pnpm add test-cmd","imports":[]}],"homepage":null,"github":"https://github.com/dominictarr/test-cmd","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/test-cmd","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-cmd/compatibility"}}