Socket
Socket
Sign inDemoInstall

@gregoryalbouy/ts-datastructures

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @gregoryalbouy/ts-datastructures

TypeScript implementation of common data structures


Version published
Weekly downloads
4
Maintainers
1
Created
Weekly downloads
 

Readme

Source

TypeScript Datastructures

Build Status 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
    • Documentation
    • MatrixGraph
  • More data structures

Keywords

FAQs

Last updated on 27 Sep 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc