0.1.2 • Published 7 years ago

data.structure v0.1.2

Weekly downloads
9
License
-
Repository
-
Last release
7 years ago

npm npm

data.structure

Implementation of the basic structures of the language TypeScript

#Installation

Prerequisites

data.structure require TypeScript 2 or higher. npm

Install

npm install data.structure --save-dev

#Usage

import * as DS from 'data.structure'; // import of all structures
let numberList: DS.DoublyLinkedList<string> = new DS.DoublyLinkedList<string>();
  
import { LinkedList, DoublyLinkedList } from 'data.structure/src/linked-list'; // import lists
let numberList: LinkedList<number> = new LinkedList<number>();
  
numberList.add(123);

#Documentation Description of the basic methods and properties provided by structures.