{"library":"js-types","type":"library","category":null,"description":"The `js-types` package provides a comprehensive, programmatically accessible list of built-in JavaScript data types, primarily sourced from MDN Web Docs. It is currently at stable version 4.0.0, which requires Node.js 18.20 and is a pure ESM package. The package maintains a moderate release cadence, with major versions often coinciding with significant Node.js LTS updates and new ECMAScript feature adoptions. Its key differentiator lies in its straightforward design: the core data is simply a `js-types.json` file that can be directly imported, making it highly portable and easy to integrate across various JavaScript environments—from Node.js backend services to browser-side applications—without introducing complex dependencies. This makes it an ideal utility for tasks like runtime type checking, generating documentation, or any scenario requiring a definitive, up-to-date enumeration of JavaScript's fundamental types.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","js","ecmascript","builtin","types","type","data","list","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install js-types","imports":["import jsTypes from 'js-types';","import typesJson from 'js-types/js-types.json';","type JSTypeName = typeof import('js-types')[number];"]},{"cmd":"yarn add js-types","imports":[]},{"cmd":"pnpm add js-types","imports":[]}],"homepage":null,"github":"https://github.com/sindresorhus/js-types","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/js-types","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/js-types/compatibility"}}