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.
This package provides a way to create [loompy](https://loompy.org/) files in Node.
This package provides a way to create loompy files in Node.
This package depends on hdf5.node, you need to specify your libhdf5 location when installing for this dependency to compile correctly. Read their readme for more details.
Example:
npm install loompy --hdf5_home_linux=/usr/lib/x86_64-linux-gnu/hdf5/serial
argument | type | comment |
---|---|---|
filename | string | Path of the file to create |
matrix | TypedArray[] | Matrix of data, as an array of TypedArrays |
rowAttrs | Object<string:Array> | Row attributes |
colAttrs | Object<string:Array> | Column attributes |
Example:
const loompy = require('loompy')
const filename = 'example.loom'
const matrix =
Array(10).fill(0).map((_, i) =>
new Float64Array(10).map((_, j) => j < 5 ? 1 : 2))
const row_attrs = { someTextAttributes: Array.from({ length: 10 }, (_, i) => `Element ${i * i * i}`) }
const col_attrs = { someDoubleAttributes: new Float64Array(10).map((_, i) => i) }
loompy.create(filename, matrix, row_attrs, col_attrs)
FAQs
This package provides a way to create [loompy](https://loompy.org/) files in Node.
We found that loompy 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.