Skip to content

CodrJS/jsr-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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 [email protected]:CodrJS/jsr-models.git

# Cache deno dependencies
deno cache ./mod.ts 

# Format, lint, and test the code
deno fmt
deno lint
deno test