Socket
Socket
Sign inDemoInstall

typescript-dsa

Package Overview
Dependencies
1
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    typescript-dsa

Collection of common data structures / algorithms implemented in TypeScript


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Install size
63.8 MB
Created
Weekly downloads
 

Readme

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

Last updated on 14 Feb 2023

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