Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
data-structures-ts
Advanced tools
A collection of data structures, built using TypeScript, built in my spare time for no reason other than fun. Why did I release it as an npm package? Again, just for fun.
This collection will likely never contain all the common data structures, I'll just add them one at a time when I'm bored.
Don't try to use this in anything even remotely resembling production. For testing or fun, sure, knock yourself out. Otherwise, use the stuff that already exists that is far better.
If you really really really want to use this, then feel free.
Installation:
$ npm install data-structures-ts
Code usage:
import { LinkedList } from 'data-structures-ts';
const list = new LinkedList();
list.add('Hello');
// ...
This project has documentation just in case you decide, against all my warnings, to use this anyway for some weird reason, you're welcome to check out the project's Documentation.
This project uses ts-node for development and ts-jest for testing.
To run tests, use npm test
. Output will display test results as well as test coverage.
This software uses the MIT license. See LICENSE for details.
FAQs
A collection of data structures, built using TypeScript.
The npm package data-structures-ts receives a total of 0 weekly downloads. As such, data-structures-ts popularity was classified as not popular.
We found that data-structures-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.