OpenMadness is a lightweight JavaScript library that simplifies mathematical and array-based operations. Inspired by the power of NumPy, it provides a clear, chainable, and flexible API designed for developers working with data in both frontend and backend environments.
-
Simplify Complex Operations
Perform intuitive manipulations on multi-dimensional arrays, statistical data, and linear algebra. -
Beginner-Friendly
The API is straightforward and accessible, making it easy for newcomers and experienced developers alike. -
Lightweight & Efficient
Keep your applications fast and efficient with a minimal yet powerful utility library. -
Chainable API
Create clean, readable data pipelines using method chaining. -
Versatile
Compatible with both browser-based and Node.js projects.
- Multi-Dimensional Array Handling
- Statistical Functions (mean, median, standard deviation, etc.)
- Linear Algebra Operations
- Chainable Methods
- Extensible and Customizable API
This guide helps you install and run OpenMadness. Whether you're using it in a project or experimenting locally, follow these steps:
- Node.js installed on your system
- A code editor (e.g., VS Code)
- Basic knowledge of JavaScript and local execution
For Node.js-based projects:
npm install openmadnessUse it in your JavaScript code:
import { omArray } from 'openmadness';
const sample = omArray([10, 20, 30]);
console.log(sample.mean()); // Output: 20Clone the repository:
git clone https://github.com/yourusername/openmadness.git
cd openmadnessInstall dependencies:
npm installCreate a test file like play.js:
import { omArray } from './src/index.js';
const data = omArray([1, 2, 3, 4]);
console.log(data.sum()); // Output: 10Run the test script:
node play.js(Optional) Run the test suite:
npm run testYou can find the Openmadness documentation on the website.
Check out the Getting Started page for a quick overview.
The documentation is divided into several sections:
- Quickstart Guide
- Installation Guide
- API Reference
- Tutorials and Guides
- Frequently Asked Questions
- Contribution Guide
Join the OpenMadness community to enhance your data manipulation workflow and collaborate with other developers.
The main purpose of this repository is to continue evolving React core, making it faster and easier to use. Development of React happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving React.
Openmadness has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to React. See Contributing Guide to get started contributing!
Here's a list of amazing talents who worked together to make this project a success:
- Elizabeth Bassey - Homepage, Changelog, Brand-Identity
- Christine Belzie - Quickstart Guide & Edit buttons
- Judith Etugbo - Advanced Tutorials
- Mercy Ileolami - OM Functions & Content Review
- Onwuemene Joshua - FAQ & Glossary
- Samuel Thomas - Project's Readme
- Olubisi Folarin - OM-Functions
- Charles Timiebifemere - Fundamental Tutorials
- Andrea Bravo Balado - Contribution Guide
- Rose Akoth - Intermediate and Advanced Guide
- Samuel Benson - Introduction and Installtion Guide
- Gloria Tejuosho - Fundamental Guide
This project is licensed under the MIT License. See the LICENSE.md file for more details.