silmarils
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

Logo

Silmarils

npm version

This library is a collection of functions that I am tired of rewriting for games and interactive visualizations.

It is well typed, data oriented, and works well in modern environments.

// importing modules from UNPKG
import { Point } from "https://unpkg.com/silmarils"

// importing a single function from UNPKG
import { distance } from "https://unpkg.com/silmarils/point";

Alternatively if you're using a bundler then you can install the library from npm and import it instead.

// importing modules from npm
import { Point } from "silmarils";

// importing a single function from npm
import { distance } from "silmarils/point";

Readme

Keywords

none

Package Sidebar

Install

npm i silmarils

Weekly Downloads

3

Version

0.8.0

License

MIT

Unpacked Size

152 kB

Total Files

57

Last publish

Collaborators

  • danprince