{"library":"hastily","type":"library","category":null,"description":"Hastily is an Express.js middleware designed to replicate the functionality of the Fastly Image Optimization API directly within your Node.js application. It enables on-the-fly image transformations and optimizations by parsing Fastly-compatible URL parameters and applying them to images served by an existing Express static server or image-serving middleware. This allows developers to integrate powerful image manipulation capabilities without relying on an external CDN service for basic optimizations. The package is currently at version 0.5.0, indicating pre-1.0 development where minor version bumps might introduce breaking changes. Its key differentiators include its drop-in compatibility with Express, leverage of the high-performance `sharp` library for image processing, and its focus on mimicking the Fastly API for familiar usage patterns.","language":"javascript","status":"active","version":"0.5.0","tags":["javascript","express","imageopto","fastly","cdn","compression","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hastily","imports":["import { imageopto } from 'hastily'","import { hasSupportedExtension } from 'hastily'","import express from 'express'; import { imageopto } from 'hastily';"]},{"cmd":"yarn add hastily","imports":[]},{"cmd":"pnpm add hastily","imports":[]}],"homepage":null,"github":"https://github.com/zetlen/hastily","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hastily","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/hastily/compatibility"}}