Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.13 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.13 KB

maths-vector-ts

Build Status Coverage Status MIT Licence npm version

This is TypeScript version of maths-vectors.

Installation

Node.js / Browserify

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

Global object

Include the pre-built script.

<script src="./dist/vector.umd.min.js"></script>
<script>
var vec = new Vector(42, 1337);
</script>

Build & test

npm run build
npm test

document

npm run doc

then open the generated out/index.html file in your browser.

License

MIT.