Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-structures

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-structures

TypeScript implementation of common data structures

  • 0.5.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

TypeScript Datastructures

Build Status Codacy codecov NPM version NPM downloads

Implementation of common data structures, TypeScript pendant of my go-datastructures repo. (As a huge Go enthusiast, I must admit that working with a language that support Generics is quite a relief for this kind of work)

About

The package provides ready-to-use and functionnal data structures. It includes linked lists, queues, stack, binary heaps and I intent to implement a lot more.

This project is also a pretext for the student developer I am to learn and practice many aspects of the development process:

  • :dna:  Understanding data structures
  • :vertical_traffic_light:  Keeping clean code and good coding practices
  • :white_check_mark:  Making relevant tests with high coverage rate
  • :arrows_counterclockwise:  Using Continuous Integration tools
  • :blue_book:  Maintaining a fully documented codebase

Feedback of any kind is always appreciated!

Usage

npm i ts-structures
const { BinarySearchTree } = require('ts-structures')

const tree = new BinarySearchTree()
// ...

Documentation

:point_right: TypeDoc

Implemented

Todo

  • Graph implementation
    • Refacto in progress
    • MatrixGraph
  • More data structures

Keywords

FAQs

Package last updated on 09 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc