{"library":"microcms-typescript","type":"library","category":null,"description":"The `microcms-typescript` package is a command-line interface (CLI) tool designed to generate TypeScript type definitions directly from MicroCMS API schema JSON files. Currently stable at version 1.0.15, this utility provides a bridge between your MicroCMS content models and your TypeScript codebase, enabling strong type-safety for your MicroCMS data. Unlike the `microcms-js-sdk` or `microcms-ts-sdk` which are client libraries for interacting with the MicroCMS API, `microcms-typescript` focuses solely on code generation. It processes local JSON files representing MicroCMS API schemas and outputs corresponding TypeScript `type` declarations, including a comprehensive `EndPoints` type that encapsulates `gets`, `get`, `post`, `put`, and `patch` operations, ensuring type-safe access to your content structure. This distinction is crucial as it targets the build-time generation of types rather than runtime API interaction.","language":"javascript","status":"active","version":"1.0.15","tags":["javascript","microcms","typescript"],"install":[{"cmd":"npm install microcms-typescript","imports":["import type { EndPoints } from './cms-types';","let listData: EndPoints['gets']['blogs'];","let detailData: EndPoints['get']['blogs'];"]},{"cmd":"yarn add microcms-typescript","imports":[]},{"cmd":"pnpm add microcms-typescript","imports":[]}],"homepage":"https://microcms.io","github":"https://github.com/SoraKumo001/microcms-typescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/microcms-typescript","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/microcms-typescript/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}