data.structure

0.1.2 • Public • Published

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.

Package Sidebar

Install

npm i data.structure

Weekly Downloads

0

Version

0.1.2

License

none

Last publish

Collaborators

  • kayun.artem