#frontend
3 APIs con questa etichetta
API de optimización SVG
Reduce y limpia archivos SVG automáticamente con SVGO, el optimizador SVG estándar de la industria. El endpoint optimize elimina comentarios, metadatos, basura de editores y atributos redundantes, colapsa y fusiona rutas, y devuelve el marcado minimizado junto con los tamaños de bytes original y optimizado y el porcentaje ahorrado — típicamente 30-60% más pequeño. El endpoint data-uri va un paso más allá y devuelve una URI de datos CSS lista para pegar (codificada en URL o base64) más la regla background-image correspondiente, para que puedas incrustar iconos sin una solicitud HTTP adicional. Perfecto para pipelines de compilación, sistemas de iconos, herramientas de diseño, correo electrónico e incrustación de SVG en CSS. Procesamiento local puro — sin clave, sin servicio de terceros, instantáneo; envía marcado vía POST para archivos grandes (hasta 2 MB). En vivo, nada almacenado. 3 endpoints. Distinto de compresión de imágenes raster, generación de códigos QR/códigos y formato JSON/HTML.
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