Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 476 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 476 Bytes

immutable 2d vector

Build Status

It's a library based on Victor but with functions that don't modify vectors.

Installation & usage

node.js

npm install immutable-vector2d --save
var Vector = require('immutable-vector2d');
var vec = new Vector(42, 1337);

Test

npm test