Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
iterable-hash-table
Advanced tools
Github Repo - https://github.com/FluxxField/iterable-hash-table
NPM Page - https://www.npmjs.com/package/iterable-hash-table
I wrote this for fun to learn more about Hash Tables, Iterables, Generator Functions and to learn how to upload packages to NPM. Please feel free to message me if you notice anything wrong with the code or wish to give me some tips and tricks. Thank you - Keenan Johns
To add the Hash Table to your project
npm i -s iterable-hash-table
Then, to add the Hash table to your file
import HashTable from 'iterable-hash-table';
A dictionary/hash map data structure for storing key/value pairs.
Set method - O(1) Get method - O(1) Delete method - O(1)
This Hash Table is also iterable. By that I mean that the Hash Table has an iterator function which is called when the Spread Operator or a For...Of loop is called on the Hash Table object.
However, the Hash Table does not remember insertion order.
Keenan Johns aka fluxxfield
FAQs
A simple Iterable Hash Table written in TypeScript
The npm package iterable-hash-table receives a total of 6 weekly downloads. As such, iterable-hash-table popularity was classified as not popular.
We found that iterable-hash-table 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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.