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.
@monogrid/lut-loader
Advanced tools
A webpack loader that enable to bundle LUT files as PNG
npm install lut-loader
or
yarn add lut-loader
You can use lut-loader in combination with other loaders.
For example, if you want to parse a .cube file and import it as PNG directly in your source code you have to do:
module: {
rules: [{
test: /\.cube$/,
use: [
{
loader: 'file-loader',
options: {
name: utils.assetsPath('assets/lut/[name].[hash:7].png')
}
},
{
loader: 'lut-loader'
}
]
}]
}
or if you want to obtain only the buffer data:
module: {
rules: [{
test: /\.cube$/,
use: [
{
loader: 'lut-loader'
}
]
}]
}
example of usage:
import LUTNight from './assets/luts-source/night.cube'
// ...
applyPngLut(LUTNight)
FAQs
A webpack loader that allows to bundle LUT files as PNG
We found that @monogrid/lut-loader 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.