A JavaScript library for calculating the Pythagorean theorem, version 2.3.0. It provides a class-based API with methods to compute the hypotenuse, adjacent side, and check if a triangle is right-angled. The library supports both object-oriented and functional usage, but it is not actively maintained and lacks ES module support. It is limited to basic trigonometric operations and uses CommonJS syntax, making it suitable only for Node.js environments without modern bundler integration.
npm install pythagoreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a Pythagore instance and using its three main methods for hypotenuse, adjacent side, and right triangle verification.
Instantiate with `new Pythagore()` before calling methods.
Always pass explicit arguments to methods or ensure constructor values are intended for reuse.
Use exact method names: Hypotenus, AdjacentSide, IsRectangle, Author.
Validate inputs before passing to methods.
Create an instance first: const p = new Pythagore(); p.Hypotenus(3,4);
Run `npm install pythagore` and use `const Pythagore = require('pythagore');`Use correct capitalization: IsRectangle, Hypotenus, AdjacentSide.
No dependency data recorded yet.