Skip to main content

Built and signed on GitHub Actions

A minimalist library for working with piecewise linear functions

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
8 months ago (0.0.6)

pwl

A minimalist library for working with piecewise linear functions

WORK IN PROGRESS

Library is probably feature-complete, but rigorous test cases are still being developed.

Testing

Using Deno:

deno test test.ts
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@asymptoticgroup/pwl

Import symbol

import * as pwl from "@asymptoticgroup/pwl";

---- OR ----

Import directly with a jsr specifier

import * as pwl from "jsr:@asymptoticgroup/pwl";

Add Package

npx jsr add @asymptoticgroup/pwl

Import symbol

import * as pwl from "@asymptoticgroup/pwl";

Add Package

yarn dlx jsr add @asymptoticgroup/pwl

Import symbol

import * as pwl from "@asymptoticgroup/pwl";

Add Package

pnpm dlx jsr add @asymptoticgroup/pwl

Import symbol

import * as pwl from "@asymptoticgroup/pwl";

Add Package

bunx jsr add @asymptoticgroup/pwl

Import symbol

import * as pwl from "@asymptoticgroup/pwl";