[go: up one dir, main page]

haraldmath
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

Harald Math

note: math is built into js but harald adds more functionality and ease to it.

Introduction

Welcome to Harald Math, a powerful JavaScript/Typescript math library designed to simplify complex mathematical calculations. Whether you're a beginner or an experienced developer, Harald Math is here to make your life easier.

Features

  • Easy-to-Use: Harald Math provides a simple and intuitive API, allowing you to perform various mathematical operations effortlessly.

  • Robust Functionality: With a wide range of mathematical functions and utilities, Harald Math empowers you to solve complex equations, manipulate numbers, and much more.

  • Cross-Platform Compatibility: Built with JavaScript/Typescript, Harald Math is compatible with all major browsers and can be used in both frontend and backend applications.

Installation

To start using Harald Math in your project, simply follow these steps:

  1. Node.js 20 (Download)
  2. Open your Windows Terminal, choose Powershell and type npm install haraldmath.
  3. Choose your desired Code Editor. Visual Studio Code is recommended.
  4. Import it using the code below.
  5. You're all set! Begin using Harald Math by calling its functions in your JavaScript code.

Usage

Here's an example of how to use Harald Math:

// Use it

const {
    add,
    subtract,
    multiply,
    divide,
    is_prime,
    factorial,
    power,
    squareRoot,
    round,
    absolute,
    random,
    sha256,
    tangent,
    cosine,
    sine,
    log10,
    degreesToRadians,
    radiansToDegrees
} = require('haraldmath');

const sum = add(5, 3);
console.log(sum); // Output: 8

const factorialResult = factorial(5);
console.log(factorialResult); // Output: 120

For detailed information on all available functions and their usage, please refer to the official documentation located in the discord server.

Contributions

We welcome contributions from the open-source community to make Harald Math even better. If you have any suggestions, bug reports, or feature requests, please feel free to submit them through GitHub issues.

License

Harald Math is released under the MIT License. You are encouraged to use, modify, and distribute this library while complying with the license terms.

Support

If you encounter any issues or need assistance while using Harald Math, please reach out to our discord.

Let's empower your mathematical journey with Harald Math!

Feel free to customize the content further to match your specific library and add any additional sections you think might be relevant.

Package Sidebar

Install

npm i haraldmath

Weekly Downloads

5

Version

0.1.6

License

MIT

Unpacked Size

12.1 kB

Total Files

7

Last publish

Collaborators

  • haraldnichtsotief