Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@invertase/storage-image-processing-api
Advanced tools
A JavaScript utility library for the Firebase Storage Image Processing API Extension.
This package contains utilities for interacting with the Firebase Storage Image Processing API Extension.
npm i --save @invertase/storage-image-processing-api
builder
Returns a StorageImageProcessingApi
instance which can be used to build an array of operations to be applied to an image via the extension.
import { builder } from '@invertase/storage-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 Storage Image Processing API Extension.
We found that @invertase/storage-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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.