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

typescript-dsa

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-dsa

Collection of common data structures / algorithms implemented in TypeScript

  • 1.2.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

typescript-dsa

Repository for implementations for a good number of data structures and algorithms in TypeScript

For more information, see the documentation

Contributions

Contributions are more than welcome :)

If you want to add your own implementation of a data structure or algorithm:

  • Fork the repository
  • Create a folder in the relevant directory (data_structures or algorithms) w/ name in snake_case
  • Inside this folder, add your implementation w/ the file name(s) in PascalCase
    • For a data structure, implement it as a class
    • For an algorithm, implement it as a function
    • Export the relevant class(es)/function(s)
  • Write tests in the tests directory
  • After testing, make a pull request

Changes to pre-existing implementations are also welcome :]

If you find a typo in documentation:

This repo uses TypeDoc to generate documentation from JSDoc comments, so please fix typos directly in the code and submit a pull request. Please do not directly edit files in the docs directory.

Keywords

FAQs

Package last updated on 14 Feb 2023

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