Skip to main content

Welcome to Samasya

Discover the simplicity of solving complex mathematical problems with samasya in just a few minutes.

Getting Started

Begin by exploring the core features of samasya, a TypeScript-based math library designed for accuracy, efficiency, and ease of use.

What you'll need

  • Node.js version 18.0 or above:
    • Ensure all checkboxes for dependencies are selected during installation.
  • A package manager like npm or yarn.

Install samasya

To integrate samasya into your project, run the following command:

npm install samasya

Or, if you're using Yarn:

yarn add samasya

Try samasya

Once installed, start using Samasya right away! Here's an example of how you can use the library:


import { add } from 'samasya';

const result = add(5, 7);
console.log(`The result is: ${result}`); // Outputs: The result is: 12

Contribute to samasya

Let’s Build samasya Together!

Whether you're adding a new feature, fixing an issue, or improving the docs, your contribution is invaluable. Join us in making samasya the go-to library for solving mathematical problems!