{"library":"css-font-face-src","type":"library","category":null,"description":"css-font-face-src is a focused JavaScript and TypeScript library designed to parse and serialize the `src` property value of CSS `@font-face` rules. It transforms complex CSS `src` strings into an array of structured objects, distinguishing between local font references and remote URLs (with optional format and `tech()` fragments), and can convert these objects back into a valid CSS string. The current stable version is 2.1.0. The package has a moderate release cadence, with significant updates in major versions like v2.0.0 introducing TypeScript support and minor versions adding support for newer CSS specifications (e.g., CSS Fonts Module Level 4 `tech()` fragment in v2.1.0). Its primary differentiator is its dedicated, precise parsing capability for this specific CSS property, providing a reliable programmatic interface for manipulating font declarations.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","css","parser","value","font","font-face","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install css-font-face-src","imports":["import { parse } from 'css-font-face-src';","import { serialize } from 'css-font-face-src';","import { FontFaceSrcItem } from 'css-font-face-src';"]},{"cmd":"yarn add css-font-face-src","imports":[]},{"cmd":"pnpm add css-font-face-src","imports":[]}],"homepage":null,"github":"https://github.com/cburgmer/css-font-face-src","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/css-font-face-src","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/css-font-face-src/compatibility"}}