@crhio/vector

0.0.4 • Public • Published

Vector

A simple 2D vector math library. Largely similar to Victor, with the following differences:

  • All transformations clone the source vector
  • Some changes have been made to the interface for convenience

Additionaly:

  • Webpack 3 based.
  • ES6 as a source.
  • Exports in a umd format
  • ES6 test setup with Mocha

Scripts

  • yarn build - produces production version of the library under the lib folder
  • yarn dev - produces development version of the library and runs a watcher
  • yarn test - well ... it runs the tests :)
  • yarn test:watch - same as above but in a watch mode

Package Sidebar

Install

npm i @crhio/vector

Weekly Downloads

104

Version

0.0.4

License

MIT

Unpacked Size

28.4 kB

Total Files

12

Last publish

Collaborators

  • kwasilonek
  • calumh
  • danstoreyleviat
  • leviat-tech-studio
  • ppychan
  • leviattao
  • laraneta
  • mattbarton44