{"library":"amp-toolbox-cache-url","type":"library","category":null,"description":"Translates canonical URLs into AMP Cache URL format according to the AMP Cache URL specification. Version 1.2.0-alpha.2 is the latest pre-release; the package is stable but not actively developed. It supports multiple module formats (ESM, CommonJS, UMD) and includes both human-readable and SHA256 fallback cache URLs. Key differentiators: official AMP project tooling, support for cache URL creation and subdomain transformation, and handling of invalid URLs via SHA256.","language":"javascript","status":"active","version":"1.2.0-alpha.2","tags":["javascript","amp","amp-toolbox","amp-url-api"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install amp-toolbox-cache-url","imports":["import {ampToolboxCacheUrl} from 'amp-toolbox-cache-url'","import {createCacheUrl} from 'amp-toolbox-cache-url'","import {createCurlsSubdomain} from 'amp-toolbox-cache-url'","const {ampToolboxCacheUrl} = window.AmpToolboxCacheUrl"]},{"cmd":"yarn add amp-toolbox-cache-url","imports":[]},{"cmd":"pnpm add amp-toolbox-cache-url","imports":[]}],"homepage":"https://github.com/ampproject/amp-toolbox/tree/master/packages/cache-url","github":"https://github.com/ampproject/amp-toolbox","docs":null,"changelog":null,"pypi":null,"npm":"amp-toolbox-cache-url","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}