This module is for defining all reusable models for Codr.
In order to use the @jsr scope in npm, the .npmrc file needs to be updated
with the following:
@jsr:registry=https://npm.jsr.ioInstalling via npm
npx jsr add @codr/models@^1
# or
npm install @jsr/codr___models@^1Installing via yarn
yarn dlx jsr add @codr/models@^1
# or
yarn add @jsr/codr___models@^1Installing via deno
deno add @codr/models@^1/* or import directly */
import { User } from "jsr:@codr/models@^1";# Clone the repo
git clone git@github.com:CodrJS/jsr-models.git
# Cache deno dependencies
deno cache ./mod.ts
# Format, lint, and test the code
deno fmt
deno lint
deno test