1.7.7 • Published 4 years ago

algory v1.7.7

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

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))
Tests
Run all tests: npm t or npm test
Run a specific test: npm test -- SomeFile.test.ts or jest SomeFile.test.ts or npm test -t SomeFile.test.ts
Help: npm test -- --help or jest help
License
  • This project is licensed under the terms of the MIT license.
Contributors
Anurag Muthyam <anu.drumcoder@gmail.com>
1.7.7

4 years ago

1.7.6

4 years ago

1.7.5

4 years ago

1.7.4

4 years ago

1.6.4

4 years ago

1.5.4

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago