{"library":"socket-vcr-test","type":"library","category":null,"description":"socket-vcr-test is a TypeScript-first library (current version 2.0.1) for recording and replaying HTTP interactions in your test suite, ensuring fast, deterministic, and accurate tests. It functions as a fork of `epignosisx/vcr-test`, aiming to provide enhanced features or maintenance. The library offers flexible recording modes (e.g., `once`, `none`, `update`, `all`) to control cassette generation and playback behavior. Key differentiators include built-in support for request masking to handle sensitive data, and a highly extensible request matching system that allows custom logic for comparing URLs, headers, and bodies. It primarily targets modern JavaScript and TypeScript environments for development testing workflows. It's a useful tool for isolating tests from external network dependencies and ensuring consistent test results without relying on live APIs.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","http","mocking","record","vcr","testing","typescript"],"install":[{"cmd":"npm install socket-vcr-test","imports":["import { VCR } from 'socket-vcr-test';","import { FileStorage } from 'socket-vcr-test';","import { RecordMode } from 'socket-vcr-test';","import { DefaultRequestMatcher } from 'socket-vcr-test';"]},{"cmd":"yarn add socket-vcr-test","imports":[]},{"cmd":"pnpm add socket-vcr-test","imports":[]}],"homepage":null,"github":"https://github.com/SocketDev/vcr-test","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/socket-vcr-test","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/socket-vcr-test/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}