1.0.2 • Published 6 years ago

algorithms-typescript v1.0.2

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

algorithms-typescript

About

Using TypeScript implements data structures and classic algorithm, TypeScript compiled into JavaScript in the end

Installing

npm install algorithms-typescript

Usage

to build

npm run build

to test

npm run test

Contents

graph

const graph = require('algorithms-typescript').graph
//or
const graph = require('algorithms-typescript/lib/graph')

tree

const tree = require('algorithms-typescript').tree
//or
const tree = require('algorithms-typescript/lib/tree')

sorting

const sorting = require('algorithms-typescript').sorting
//or 
const sorting = require('algorithms-typescript/lib/sorting')

search

const search = require('algorithms-typescript').search
//or
const search = require('algorithms-typescript/lib/search')