Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
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.
The npm package loompy receives a total of 6 weekly downloads. As such, loompy popularity was classified as not popular.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.