Home
Getting Started
  • Fundamentals
  • Advanced
  • Fundamentals
  • Intermediate
  • Advanced
OM-Functions
  • FAQs
  • Glossary
  • Contributing
Changelog
Github
Home
Getting Started
  • Fundamentals
  • Advanced
  • Fundamentals
  • Intermediate
  • Advanced
OM-Functions
  • FAQs
  • Glossary
  • Contributing
Changelog
Github
  • Getting Started

    • Introduction
    • Quickstart
    • Installation

What is Openmadness?

openmadness-banner

Openmadness is a lightweight JavaScript library that clarifies array-based and mathematical operations. Inspired by the NumPy library in Python, this library offers a JavaScript-first approach to everyday data manipulation tasks.

At its core, Openmadness offers:

  • Add up all the numbers in an array
  • Find the average of numbers in an array
  • Transpose a matrix (like turning rows into columns)
  • Flatten a multi-dimensional array into a single one

For example, if you want to add two arrays together, you can use Openmadness like this:

import { add } from 'openmadness';

add([1, 2], [3, 4]);
// Result: [4, 6]

How to use the docs

The docs are organized into 4 sections:

  1. Getting Started: This is where you learn how to install and use Openmadness.
  2. OM-Functions: This is where you learn about the functions available in Openmadness.
  3. Tutorials: This is where you learn how to use Openmadness to solve real-world problems.
  4. Resources: This is where you learn about the resources available to you.

Prequisites

To follow along with Openmadness, you should:

  • Basic knowledge of JavaScript (arrays, functions, etc.)

  • Node.js 18 +

Who Should Use This Guide

This guide is for:

  • Data scientists and analysts who want to use JavaScript for data manipulation
  • Developers who want to use JavaScript for numerical computing
  • Anyone who wants to learn about JavaScript-based numerical computing
Edit this page on GitHub
Last Updated:: 7/11/25, 12:24 PM
Contributors: Dev-Liz
Next
Quickstart