Skip to content

boycgit/maths-vector-ts

Repository files navigation

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.

About

typescript version of maths-vector-ts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published