Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An Auto-Curried, Auto-Memoized general purpose package composed of algorithms and data structures for JavaScript, TypeScript and Node.js

License

Notifications You must be signed in to change notification settings

aryaghan-mutum/algory

Repository files navigation

Algory

An Auto-Curried General purpose library composed of algorithms and data structures for JavaScript, TypeScript and Node.js

How to Import libraries

Import all the function in TypeScript using import keyword:

import * as λ from 'algory'
λ.sumOfCubes(2, 3)
λ.sumOfCubes(2)(3)

Import specific functions in TypeScript using import keyword:

import { mergeSort, avgLst } from 'algory'
const arr = mergeSort([4, -32, 12, 0, 1, 44, 3])
const arr2 = avgLst([4, -32, 12, 0, 1, 44, 3])

Import all functions in TypeScript using require keyword:

const λ = require('algory')
λ.sumOfCubes(2, 3))
λ.sumOfCubes(2)(3)

Import all functions in JavaScript using require keyword:

const λ = require('algory')
λ.sumOfCubes(2, 3))
Code Health
  • The project is written in TypeScript
  • Code Coverage: 100%
License
  • This project is licensed under the terms of the MIT license.
Contributors
Anurag Muthyam <anu.drumcoder@gmail.com>

About

An Auto-Curried, Auto-Memoized general purpose package composed of algorithms and data structures for JavaScript, TypeScript and Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /