{"library":"got-cjs","type":"library","category":null,"description":"got-cjs is a utility package maintained by Apify, specifically designed to provide a CommonJS-compatible interface for the popular `got` HTTP client library in Node.js. It currently wraps `got` version 11.8.3, which was the last major version of `got` to fully support CommonJS modules. This package serves as a crucial bridge for projects that are still using CommonJS and cannot easily migrate to ECMAScript Modules (ESM), as the main `got` package transitioned to being ESM-only from version 12 onwards. got-cjs ensures that CJS-based applications can continue to leverage `got`'s robust feature set, including its Promise API, stream API, retries, and advanced error handling, without requiring a full module system migration. Its release cadence is likely tied to the maintenance and security updates of its underlying `got` v11 dependency. Its key differentiator is enabling `got`'s v11 API for CommonJS environments.","language":"javascript","status":"maintenance","version":"12.5.4","tags":["javascript","http","https","http2","get","got","url","uri","request","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install got-cjs","imports":["const got = require('got-cjs');","const got = require('got-cjs');\nconst { URLSearchParams } = require('url'); // Example for a common Node.js global","import type { GotReturn } from 'got-cjs';"]},{"cmd":"yarn add got-cjs","imports":[]},{"cmd":"pnpm add got-cjs","imports":[]}],"homepage":null,"github":"https://github.com/apify/got-cjs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/got-cjs","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/got-cjs/compatibility"}}