{"id":17531188,"url":"https://github.com/bartozzz/mads","last_synced_at":"2026-01-20T02:20:21.306Z","repository":{"id":39914397,"uuid":"229503582","full_name":"Bartozzz/mads","owner":"Bartozzz","description":"Set of TypeScript utility modules for working with mathematics, algorithms and data structures.","archived":false,"fork":false,"pushed_at":"2023-01-05T03:30:36.000Z","size":2916,"stargazers_count":0,"open_issues_count":101,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T06:14:03.324Z","etag":null,"topics":["algorithms","computer-science","data-structures","mathematics","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bartozzz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-22T01:24:19.000Z","updated_at":"2021-07-01T07:59:16.000Z","dependencies_parsed_at":"2023-02-03T08:46:03.315Z","dependency_job_id":null,"html_url":"https://github.com/Bartozzz/mads","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bartozzz%2Fmads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bartozzz%2Fmads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bartozzz%2Fmads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bartozzz%2Fmads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bartozzz","download_url":"https://codeload.github.com/Bartozzz/mads/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247440247,"owners_count":20939213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","computer-science","data-structures","mathematics","typescript"],"created_at":"2024-10-20T17:23:13.555Z","updated_at":"2026-01-20T02:20:21.264Z","avatar_url":"https://github.com/Bartozzz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MADS\n\n[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)\n[![Known Vulnerabilities](https://snyk.io/test/github/Bartozzz/mads/badge.svg?targetFile=package.json)](https://snyk.io/test/github/Bartozzz/mads?targetFile=package.json)\n[![Default CI/CD](https://github.com/Bartozzz/mads/workflows/Default%20CI/CD/badge.svg)](https://github.com/Bartozzz/mads/actions)\n\n**MADS** (_Mathematics, Algorithms, Data Structures_) is a set of TypeScript utility modules for working with various mathematical functions, algorithms and data structures.\n\n\u003e **Note:** documentation and examples for each package are published in their respective [READMEs](#installation). Please, refer to those resources for installation details and API references.\n\n## Installation\n\n| Package                                          | Version                                                                                                                    | Dependencies                                                                                                                                  |\n| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| [`mads-constants`](/packages/mads-constants)     | [![npm](https://img.shields.io/npm/v/mads-constants.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-constants)     | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-constants)](https://www.npmjs.com/package/mads-constants)     |\n| [`mads-coordinates`](/packages/mads-coordinates) | [![npm](https://img.shields.io/npm/v/mads-coordinates.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-coordinates) | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-coordinates)](https://www.npmjs.com/package/mads-coordinates) |\n| [`mads-easing`](/packages/mads-easing)           | [![npm](https://img.shields.io/npm/v/mads-easing.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-easing)           | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-easing)](https://www.npmjs.com/package/mads-easing)           |\n| [`mads-graph`](/packages/mads-graph)             | [![npm](https://img.shields.io/npm/v/mads-graph.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-graph)             | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-graph)](https://www.npmjs.com/package/mads-graph)             |\n| [`mads-utils`](/packages/mads-utils)             | [![npm](https://img.shields.io/npm/v/mads-utils.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-utils)             | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-utils)](https://www.npmjs.com/package/mads-utils)             |\n| [`mads-vec2`](/packages/mads-vec2)               | [![npm](https://img.shields.io/npm/v/mads-vec2.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-vec2)               | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-vec2)](https://www.npmjs.com/package/mads-vec2)               |\n| [`mads-vec3`](/packages/mads-vec3)               | [![npm](https://img.shields.io/npm/v/mads-vec3.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-vec3)               | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-vec3)](https://www.npmjs.com/package/mads-vec3)               |\n| [`mads-queue`](/packages/mads-queue)             | [![npm](https://img.shields.io/npm/v/mads-queue.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-queue)             | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-queue)](https://www.npmjs.com/package/mads-queue)             |\n| [`mads-stack`](/packages/mads-stack)             | [![npm](https://img.shields.io/npm/v/mads-stack.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-stack)             | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-stack)](https://www.npmjs.com/package/mads-stack)             |\n| [`mads-heap`](/packages/mads-heap)               | [![npm](https://img.shields.io/npm/v/mads-heap.svg?maxAge=2592000)](https://www.npmjs.com/package/mads-heap)               | [![Dependency Status](https://david-dm.org/Bartozzz/mads.svg?path=packages/mads-heap)](https://www.npmjs.com/package/mads-heap)               |\n| \u003c!-- Inject auto-generated packages --\u003e          |\n\n## Contributing\n\n### Development\n\nWe have prepared multiple commands to help you develop `mads` on your own. You will need a local copy of [Node.js](https://nodejs.org/en/) installed on your machine. Then, follow the steps bellow:\n\n1.  Install [`lerna`](https://github.com/lerna/lerna) globally:\n\n    ```bash\n    $ npm install -g lerna\n    ```\n\n2.  Install project dependencies:\n\n    ```bash\n    $ npm install\n    ```\n\n3.  Install packages dependencies and link them together:\n\n    ```bash\n    $ npm run bootstrap\n    ```\n\n#### Usage\n\n```bash\n$ npm run \u003ccommand\u003e\n```\n\n#### List of commands\n\n| Command     | Description                                                   |\n| :---------- | :------------------------------------------------------------ |\n| `bootstrap` | Links local packages together and install their dependencies. |\n| `build`     | Builds all packages.                                          |\n| `docs`      | Builds documentation for all packages.                        |\n| `start`     | Starts tests in watch mode for all packages.                  |\n| `test`      | Alias for `npm run test:unit` and `npm run test:lint`.        |\n| `test:unit` | Starts units tests for all packages.                          |\n| `test:lint` | Starts linters for all packages.                              |\n\n### Scaffolding\n\nWe use [Hygen](https://www.hygen.io/) to create new ready-to-develop packages for MADS. If you want to automatically create a new package, run the following command and follow the prompt tips:\n\n```bash\n$ npx hygen package new\n```\n\n### License\n\n**MADS** was created and developed by [Bartosz Łaniewski](https://github.com/Bartozzz). The full list of contributors can be found [here](https://github.com/Bartozzz/mads/graphs/contributors). Each package is [MIT licensed](https://github.com/Bartozzz/mads/blob/master/LICENSE), except for packages that provide a different LICENSE file.\n\n### Bug reporting\n\n[![Github Open Issues](https://img.shields.io/github/issues-raw/Bartozzz/mads.svg)](https://github.com/Bartozzz/mads/issues)\n[![Github Closed Issues](https://img.shields.io/github/issues-closed-raw/Bartozzz/mads.svg)](https://github.com/Bartozzz/mads/issues?q=is%3Aissue+is%3Aclosed)\n[![Github Pull Requests](https://img.shields.io/github/issues-pr-raw/Bartozzz/mads.svg)](https://github.com/Bartozzz/mads/pulls)\n\n**We want contributing to MADS to be fun, enjoyable, and educational for anyone, and everyone.** Changes and improvements are more than welcome! Feel free to fork and open a pull request. If you have found any issues, please [report them here](https://github.com/project-inra/Bartozzz/mads/new) - they are being tracked on [GitHub Issues](https://github.com/Bartozzz/mads/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartozzz%2Fmads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartozzz%2Fmads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartozzz%2Fmads/lists"}