Library who contains many algorithms about mathematics, physics, electricity, etc.
- Pythagorean Theorem and his converse.
- Intercept Theorem also known as Thales's Theorem and his converse.
- Euclidean algorithm to compute the Greatest Common Divisor between 2 numbers.
- LCM algorithm to compute the Least Common Multiple between 2 numbers.
- Implementation of an algorithm to check if a number is a prime number or not.
- Implementation of Lucas-Lehmer algorithms to check if a number is a Mersenner number.
- Implementation of line slope computation.
- An simple converter to convert distance, liter or weight unit to another one.
- Implementations of Ohm's law to compute voltage, intensity, power and/or resistance of a electric circuit.
- Add method to convert degree unit into another one.
- A simple algorithm to reverse the text. By example, the text Hello World ! became ! dlroW olleH.
- An algorithms to verify if a text is a palindrome. A palindrome is a text can be read and each letters are at the same place from left to right or right to left like the word kayak or the sentence Ah, Satan sees Natasha.
You can get this library on npm.
To download it, you just type the commmand
$ npm i @kero76/logisticae
If you work locally with this library, you can generate yourself the documentation thanks to this command
$ npx typedoc --out docs src --mode file --module commonjs
You can consult the API of the library to following this link : https://kero76.github.io/logisticae/.
This version is update after each release of the API.
develop
branch content, you must generate yourself the documentation or reading the source code to using correctly this API.
- Command use to compile the project :
$ npm run build
or$ tsc
- Command use to execute the unit tests :
$ npm test
or$ npm run test
- Command use to execute the code coverage :
$ npm run coverage
- Command use to execute the linter :
$ npm run lint
- Command use to generate the documentation :
$ npm run docs
or$ npx typedoc --out docs src --mode file --module commonjs
You can see more information about versions on the CHANGELOG.md.
- v0.4.0 : Documentae update
- v0.3.0 : Stringae update
- V0.2.0 : Physicae update
- V0.1.0 : Mathematicae update
This project is under MIT License.
- Nicolas GILLE : nic.gille@gmail.com