Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
rle-ndarray
Advanced tools
Conversion between rle volumes and ndarrays
npm install rle-ndarray
var convert = require("rle-ndarray")
convert.rle2array(volume[, bounds])
Converts an rle data structure into an ndarray
volume
is the volume we are convertingReturns An object containing a pair of ndarrays:
phase
is the phase field of the volumedistance
is the distance field of the volumeconvert.array2rle(phase[, distance, offset])
Converts an ndarray into an rle data structure
phase
an array of phasesdistance
approximate signed distance to boundary (default constant 1.0)offset
a translational offset which is applied to the array (default [0,0,0])Returns An ndarray encoding the array
(c) 2013 Mikola Lysenko. MIT License
FAQs
Convert between ndarrays and rle volumes
The npm package rle-ndarray receives a total of 1 weekly downloads. As such, rle-ndarray popularity was classified as not popular.
We found that rle-ndarray 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 threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.