Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@invertase/image-processing-api
Advanced tools
A JavaScript utility library for the Firebase Image Processing API Extension.
This package contains utilities for interacting with the Firebase Image Processing API Extension.
npm i --save @invertase/image-processing-api
builder
Returns a ImageProcessingApi
instance which can be used to build an array of operations to be applied to an image via the extension.
import { builder } from '@invertase/image-processing-api';
const output = builder()
// Input required
.input({
source: 'https://example.com/image.jpg',
})
.flip()
.grayscale()
.rotate({ angle: 90 })
// Output required
.output({
format: 'png',
});
Once created, the api provides the means to return the operations as JSON, a JSON string or an encoded JSON string suitable for GET requests in your browser.
const json = output.toJSON();
const jsonString = output.toJSONString();
const encodedJsonString = output.toEncodedJSONString();
FAQs
A JavaScript utility library for the Firebase Image Processing API Extension.
We found that @invertase/image-processing-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.