Skip to main content

A lightweight TypeScript library for creating and manipulating 2d vectors. Works in browser and on the server.

This package works with Bun, Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers
JSR Score
76%
Published
3 months ago (1.0.6)

Add Package

deno add @lunarweb/simple-2d-vectors

Import symbol

import { type Point } from "@lunarweb/simple-2d-vectors";

Add Package

npx jsr add @lunarweb/simple-2d-vectors

Import symbol

import { type Point } from "@lunarweb/simple-2d-vectors";

Add Package

yarn dlx jsr add @lunarweb/simple-2d-vectors

Import symbol

import { type Point } from "@lunarweb/simple-2d-vectors";

Add Package

pnpm dlx jsr add @lunarweb/simple-2d-vectors

Import symbol

import { type Point } from "@lunarweb/simple-2d-vectors";

Add Package

bunx jsr add @lunarweb/simple-2d-vectors

Import symbol

import { type Point } from "@lunarweb/simple-2d-vectors";