Package Exports
- appwrite-typer
- appwrite-typer/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (appwrite-typer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Welcome to `appwrite-typer` 👋
CLI tool to generate Typescript definitions for your Appwrite collections.
This is fork of a deprecated repo https://github.com/TorstenDittmann/appwrite-types-generator upgraded.
Install
npm i appwrite-typerCLI Usage
aw-typer generate -c config.json -o types/ package.json
{
"scripts": {
"types": "aw-typer generate -c config.json -o types/"
}
}config.json
{
"endpoint": "https://cloud.appwrite.io/v1",
"projectId": "6588091....",
"databaseId": "658827....",
"apiKey": "0da035ee4c522d239446c93b...."
}
Languages supported
- typescript
Author
👤 Oren Aksakal
- Twitter: @orenaksakal
- Github: @orenaksakal
Credits to
👤 Torsten Dittmann
- Website: https://dittmann.dev
- Twitter: @DittmannTorsten
- Github: @TorstenDittmann