Skip to main content

@lehuyh/assist-js@0.1.2

An unofficial JavaScript library for fetching class articulation agreements between schools from ASSIST.org

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
JSR Score
100%
Published
a week ago
indexfetchAllAgreements
function fetchAllAgreements
deno add @lehuyh/assist-js
import { fetchAllAgreements } from "@lehuyh/assist-js";
npx jsr add @lehuyh/assist-js
import { fetchAllAgreements } from "@lehuyh/assist-js";
yarn dlx jsr add @lehuyh/assist-js
import { fetchAllAgreements } from "@lehuyh/assist-js";
pnpm dlx jsr add @lehuyh/assist-js
import { fetchAllAgreements } from "@lehuyh/assist-js";
bunx jsr add @lehuyh/assist-js
import { fetchAllAgreements } from "@lehuyh/assist-js";

Fetches all agreements based on the provided options.

Parameters

unnamed 0: AssistFetchOptions

Return Type

Promise<{ agreements: Agreement[]; from: School; to: School; groups: Record<string, { instruction: Instruction | null; sections: Section[]; }[]>; }>

A promise that resolves to the fetched agreements.