contentful-typescript-types

1.0.1 • Public • Published

Contentful TypeScript Types

This is a typescipt package that generates typescript types from the contentful content models.

Installation

npm install contentful-typescript-types

Usage

create a .env file with the following variables at the root of your project

CONTENTFUL_MANAGEMENT_ACCESS_TOKEN="contentful management access token"
CONTENTFUL_SPACE_ID="contentful space id"
CONTENTFUL_ENVIRONMENT_ID="contentful environment id"

then run the following command

npx contentful-typescript-types

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Package Sidebar

Install

npm i contentful-typescript-types

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

21.4 kB

Total Files

16

Last publish

Collaborators

  • aryasaatvik