node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

@chemistry/math

@chemistry/math

npm version Build Status codecov

Simple linear algebra Math library to support chemistry js project

Technical description :

  • Typescript 2.1 (export typings)
  • Isomorphic (can be used with node & with browsers )
  • Compiled to UMD (can be used as CommonJS, AMD & direct module include syntax)
  • Build with TDD in mind (tests with jasmine)
  • 100% code coverage (detailed report with Istanbul)

Include following clases:

  • Vec3
  • Matrix3x3
  • Matrix3x4
  • Transform3d
  • Quaternion

Commands:

  • Run unit tests: npm run test
  • Start TDD flow: npm run tdd
  • Run linter verification: npm run lint
  • Run linter verification & fix: npm run lintfix
  • Build project: npm run build