Back

#frontend

3 APIs with this tag

SVG Optimizer API

Shrink and clean SVG files automatically with SVGO, the industry-standard SVG optimiser. The optimize endpoint strips comments, metadata, editor cruft and redundant attributes, collapses and merges paths, and returns minified markup together with the original and optimised byte sizes and the percentage saved — typically 30-60% smaller. The data-uri endpoint goes one step further and returns a ready-to-paste CSS data URI (URL-encoded or base64) plus the matching background-image rule, so you can inline icons without an extra HTTP request. Perfect for build pipelines, icon systems, design tooling, email and embedding SVGs in CSS. Pure local processing — no key, no third-party service, instant; send markup via POST for large files (up to 2 MB). Live, nothing stored. 3 endpoints. Distinct from raster image compression, QR/code generation and JSON/HTML formatting.

api.oanor.com/svgo-api

Bundle Size API

How big is that npm package? Get the minified and gzipped bundle size of any npm package — plus its dependency count, the size contributed by each dependency, peer dependencies, whether it ships an ES module and whether it is side-effect-free — in a single call. Pin a version ([email protected]) or get the latest, and pull the bundle size across a package's recent versions to spot regressions over time. Powered by the public Bundlephobia service; results are live (no cache). 3 endpoints. Built for frontend performance budgets, bundle-size CI checks, "cost of adding this dependency" tooling, and dependency dashboards. Distinct from a plain npm registry lookup (metadata) or a dependency-graph service — this measures actual shipped bytes. No upstream key, no cache.

api.oanor.com/bundlephobia-api

Can I Use API

Browser-feature compatibility data as an API — the "Can I Use" support tables for over 550 web platform features across 19 browsers (Chrome, Edge, Firefox, Safari, iOS Safari, Samsung Internet, Opera, IE and more). Look up any feature (flexbox, css-grid, webp, fetch, websockets, …) for its full support matrix: per-browser current support, the first version that shipped full support, partial/prefixed/disabled flags and notes, the spec status, categories, keywords, global usage share and reference links. Ask a single feature×browser question, list or filter features by category, search features by keyword, and get the browser/agent list with version histories and the category/status legend. Backed by the public caniuse-db dataset (refreshed every 12 hours); query results are computed live. 7 endpoints. Built for build tooling, polyfill decisions, compatibility dashboards, linters and documentation. No upstream key.

api.oanor.com/caniuse-api