h5p-types
TypeScript icon, indicating that this package has built-in type declarations

5.1.0 • Public • Published

H5P Types

This package provides TypeScript types for H5P. This project might one day become @types/h5p.

Most of these types are copies of models found in the H5P Core, and are no more than declarations. They describe the structure of models that are found in the H5P Core and is especially helpful for APIs like the H5P and H5PEditor global objects.

Usage

Install the package:

npm install h5p-types --save-dev

h5p-types depends on TypeScript and requires TypeScript version 5.0.4 or higher to be installed. If you need support for TypeScript 4.7, install h5p-types@2.0.1.

Docs

Go to the documentation site to see each type, interface and class in detail.

Featured types and interfaces:

Readme

Keywords

none

Package Sidebar

Install

npm i h5p-types

Weekly Downloads

358

Version

5.1.0

License

none

Unpacked Size

197 kB

Total Files

78

Last publish

Collaborators

  • boyum