{"library":"is-immutable-type","type":"library","category":null,"description":"is-immutable-type is a TypeScript utility library designed to statically analyze the immutability of TypeScript types within a given program context. It provides detailed classifications for types, distinguishing between `Immutable` (deeply read-only, no modifications possible), `ReadonlyDeep` (deeply immutable data, but methods are not), `ReadonlyShallow` (shallowly immutable, but deep values are not), `Mutable` (shallowly mutable), and `Unknown` (immutability could not be determined). The library is currently on version 5.0.1 and maintains an active release cadence, with several major and minor versions released recently, indicating continuous development. Its key differentiators include precise immutability definitions and a robust override mechanism, allowing developers to specify immutability for types where static analysis alone might be insufficient. It is typically integrated into TypeScript tooling like ESLint plugins for advanced type-aware linting.","language":"javascript","status":"active","version":"5.0.1","tags":["javascript","readonly","immutable","type","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install is-immutable-type","imports":["import { getTypeImmutability } from 'is-immutable-type';","import { Immutability } from 'is-immutable-type';","import { isReadonlyDeep } from 'is-immutable-type';","import { isUnknown } from 'is-immutable-type';"]},{"cmd":"yarn add is-immutable-type","imports":[]},{"cmd":"pnpm add is-immutable-type","imports":[]}],"homepage":null,"github":"https://github.com/RebeccaStevens/is-immutable-type","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/is-immutable-type","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/is-immutable-type/compatibility"}}