Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
estructura
Advanced tools
Data Structures written in JavaScript for Node.js
Please feel free to open an Issue for Features, new Data Structures etc.
Note: the Double Linked List should NOT be used anymore. Use the Doubly Linked List instead.
npm install estructura --save
git clone https://github.com/airliti/estructura.git
The repository on GitHub is only containing the code which is using the latest version of JavaScript. But to keep it compatible with at least Node.js version 6.10.2, Grunt and Babel are being used to transpile the code to valid EcmaScript 2015 code.
npm install
The npm install
command will install Babel and Grunt for the ES6 version of
Estructura. Then execute the grunt build
command to create the package
used
for the NPM release.
grunt build
Go to the newly created package
folder and run the npm install
command to
install Mocha, Chai and Istanbul.
cd package
npm install
If you just want to verify whether the src
code is working. Go to that directory
and install the devDependencies
and dependencies
with:
cd src
npm install
Once you've chosen either the src
or package
version, go to that specific
folder and execute the Unit Tests with:
npm test
And to get a report on Code Coverage, use:
npm run coverage
FAQs
JavaScript Data Structures written for Node.js
We found that estructura 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.