data-structures-ts
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

TypeScript Data Structures

Build Status npm

A collection of data structures, built using TypeScript, built in my spare time for no reason other than fun. Why did I release it as an npm package? Again, just for fun.

This collection will likely never contain all the common data structures, I'll just add them one at a time when I'm bored.

Usage

Don't try to use this in anything even remotely resembling production. For testing or fun, sure, knock yourself out. Otherwise, use the stuff that already exists that is far better.

If you really really really want to use this, then feel free.

Installation:

$ npm install data-structures-ts

Code usage:

import { LinkedList } from 'data-structures-ts';
 
const list = new LinkedList();
list.add('Hello');
// ...

Documentation

This project has documentation just in case you decide, against all my warnings, to use this anyway for some weird reason, you're welcome to check out the project's Documentation.

Developing

This project uses ts-node for development and ts-jest for testing.

To run tests, use npm test. Output will display test results as well as test coverage.

License

This software uses the MIT license. See LICENSE for details.

Readme

Keywords

none

Package Sidebar

Install

npm i data-structures-ts

Weekly Downloads

1

Version

0.5.1

License

MIT

Unpacked Size

638 kB

Total Files

39

Last publish

Collaborators

  • johnbwoodruff