This library provides tools to generate various files based on types declared using mobiletto-orm-typedef
This is a separate library because it's almost always a dev dependency and not needed at runtime.
I would be sincerely grateful for any contribution via Patreon
You can install mobiletto-orm-typedef-gen
via npm or yarn or pnpm
# install with npm
npm i mobiletto-orm-typedef-gen
# install with yarn
yarn add mobiletto-orm-typedef-gen
# install with pnpm
pnpm add mobiletto-orm-typedef-gen
To access the mobiletto-orm-typedef-gen source:
# Clone source and install dependencies
git clone https://github.com/cobbzilla/mobiletto-orm-typedef-gen.git
cd mobiletto-orm-typedef-gen
pnpm install
See the mobiletto-orm documentation on Type Definitions
You can also check out the test suite for examples.