🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

typescript-dsa

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
74

Supply Chain Security

100

Vulnerability

75

Quality

76

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created

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.

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