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
indexfetchAssistArticulationURL
function fetchAssistArticulationURL
deno add @lehuyh/assist-js
import { fetchAssistArticulationURL } from "@lehuyh/assist-js";
npx jsr add @lehuyh/assist-js
import { fetchAssistArticulationURL } from "@lehuyh/assist-js";
yarn dlx jsr add @lehuyh/assist-js
import { fetchAssistArticulationURL } from "@lehuyh/assist-js";
pnpm dlx jsr add @lehuyh/assist-js
import { fetchAssistArticulationURL } from "@lehuyh/assist-js";
bunx jsr add @lehuyh/assist-js
import { fetchAssistArticulationURL } from "@lehuyh/assist-js";

Fetches the Assist Articulation URL and processes the response data into a more usable format.

Parameters

url: string
  • The URL to fetch the data from.

Return Type

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

An object containing the agreements, from school, to school, and agreeements groups.