Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
reference-map
Advanced tools
npm install referanceMap
This is a simple determinstic map that maps POJOs to an integer.
Handle mapping arbitary JS object to ints
Adds an object to the referance map returning an int to be used as a referance
Parameters
obj
anytype
any optionalReturns integer
gets a POJO given a refernce as an int
Parameters
ref
integertypeCheck
type
Object optionalReturns any
deletes an object given a referance as an int
Parameters
ref
integer
Returns boolean whether or not the object was deleted
clears the referance map of a objects
returns the number of items in the refernace map
Returns integer
tests wether a given referance is valid or not
Parameters
ref
Returns boolean
FAQs
This is a simple determinstic map that maps POJOs to an integer
The npm package reference-map receives a total of 1 weekly downloads. As such, reference-map popularity was classified as not popular.
We found that reference-map 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.