A Javascript 2D Vector Maths Library, built using the UMD standards, so you can use it as a global object or with any module loader. It works in both Node.js and the browser.
Check out the website for documentation.
npm install victor --save
var Victor = require('victor');
var vec = new Victor(42, 1337);
bower install victor --save
Include the pre-built script.
<script src="./build/victor.js"></script>
<script>
var vec = new Victor(42, 1337);
</script>
npm run build
npm test