adts
Abstract Data Types in TypeScript.
Also an exercise in figuring out best practice when distributing a TypeScript project via npm.
Concerns so far:
- Would it be good to have an
.npmignore
containing src/*
, Makefile
, etc.? - Everything is packaged up in
index.js
; would that still be a good idea if it was a big project?
Example import
/// <reference path="../node_modules/adts/adts.d.ts"/>
import adts = require('adts');
TODO
- Container
- Deque
- Graph
- List
- Map
- Map/Associative array/Dictionary
- Multimap
- Multiset/Bag (partially done)
- Priority queue
- Queue
- Set (done)
- Stack (done)
- Tree
... more?
License
Copyright 2014-2015 Christopher Brown. MIT Licensed.