Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @nickradford/ts-data-structures with all npm packages installed. Try it out:

var tsDataStructures = require("@nickradford/ts-data-structures")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@nickradford/ts-data-structures v2.2.0

A data structure library built using TypeScript.


<ORG_NAME> Coverage Status

ts-data-structures is a TypeScript library which implements some common data structures. This is a personal effort to learn TypeScript and apply it in a library format. If you use it, let me know, and please report any issues you run into!


Visit Documentation Website


yarn add @nickradford/ts-data-structures
import { BinaryTree } from '@nickradford/ts-data-structures'

const Tree: BinaryTree<int> = new BinaryTree<int>()



Special Thanks

Thanks to the Awesome typescript-library-starter by @alexjoverm with commits by many others.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free