This is TypeScript version of maths-vectors.
npm install vector --save
var Vector = require('vector');
var vec = new Vector(42, 1337);
Include the pre-built script.
<script src="./dist/vector.umd.min.js"></script>
<script>
var vec = new Vector(42, 1337);
</script>
npm run build
npm test
npm run doc
then open the generated out/index.html
file in your browser.
MIT.