Skip to content

danprince/silmarils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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";

Releases

No releases published

Packages

No packages published