Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 561 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 561 Bytes

npm (scoped)

@craftercms/models

This package contains data model definitions of different structures of Crafter CMS. These interfaces are useful when developing in TypeScript and for IDE auto-completion & suggestions.

Usage

  • Install module using yarn or npm
    • yarn add @craftercms/models or
    • npm install @craftercms/models
  • Import and use the models you need

Most of our packages have @craftercms/models as a dependency and will pull it automatically when using npm.