Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.15 KB

File metadata and controls

61 lines (44 loc) · 1.15 KB

@codr/models

JSR Scope JSR JSR Score CodeQL

Purpose

This module is for defining all reusable models for Codr.

Getting Started

In order to use the @jsr scope in npm, the .npmrc file needs to be updated with the following:

@jsr:registry=https://npm.jsr.io

Installing via npm

npx jsr add @codr/models@^1
# or
npm install @jsr/codr___models@^1

Installing via yarn

yarn dlx jsr add @codr/models@^1
# or
yarn add @jsr/codr___models@^1

Installing via deno

deno add @codr/models@^1
/* or import directly */
import { User } from "jsr:@codr/models@^1";

Contributing

# 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