Unofficial typings for the codewars API for use in libraries
Install with npm / yarn / pnpm
npm install codewars-api-types
yarn add codewars-api-types
pnpm add codewars-api-types
You can only import this module by specifying the API version you want to target. Append
/v*
to the import path, where the*
represents the API version.
Below are some examples:
// Typescipt/ES Module
import { User } from 'codewars-api-types/v1';
import * as Types from 'codewars-api-types/v1';