{
  "_id": "fontless",
  "maintainers": [
    {
      "name": "gioboa",
      "email": "giorgiob.boa@gmail.com"
    },
    {
      "name": "danielroe",
      "email": "daniel@roe.dev"
    },
    {
      "name": "qwerzl",
      "email": "me@qwerzl.me"
    }
  ],
  "keywords": [
    "font",
    "optimization",
    "vite-plugin",
    "css",
    "javascript"
  ],
  "dist-tags": {
    "latest": "0.2.1"
  },
  "author": {
    "name": "Daniel Roe",
    "email": "daniel@roe.dev",
    "url": "https://github.com/danielroe"
  },
  "_rev": "8-3377f25c8ebe220a611b9bb028f9d9ee",
  "description": "Magical plug-and-play font optimization for modern web applications",
  "readme": "# fontless\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions][github-actions-src]][github-actions-href]\n[![Codecov][codecov-src]][codecov-href]\n\n> Magical plug-and-play font optimization for modern web applications\n\n## Features\n\n- 🚀 **Optimized font loading**: Automatically loads and configures fonts with proper fallbacks\n- 🔤 **Multiple provider support**: Google Fonts, Bunny Fonts, FontShare, FontSource, and more using [unifont](https://github.com/unjs/unifont)\n- 📦 **Zero runtime overhead**: Pure CSS solution with no JavaScript required at runtime\n- 📏 **Metric-based fallbacks**: Reduces Cumulative Layout Shift (CLS) by using font metrics from [fontaine](https://github.com/unjs/fontaine)\n- 🔄 **CSS transformation**: Detects font-family usage in your CSS and injects optimized `@font-face` declarations\n- 🎯 **Framework agnostic**: Works with all modern frameworks (Vue, React, Solid, Svelte, Qwik, etc.)\n\n## Installation\n\n```sh\n# npm\nnpm install fontless\n\n# pnpm\npnpm install fontless\n```\n\n## Usage\n\nAdd the `fontless` plugin to your Vite configuration:\n\n```js\n// vite.config.js / vite.config.ts\nimport { defineConfig } from 'vite'\nimport { fontless } from 'fontless'\n\nexport default defineConfig({\n  plugins: [\n    // ... other plugins\n    fontless()\n  ],\n})\n```\n\n### Using fonts in your CSS\n\nSimply use fonts in your CSS as you normally would, and fontless will handle optimization:\n\n```css\n/* Your CSS */\n.google-font {\n  font-family: \"Poppins\", sans-serif;\n}\n\n.bunny-font {\n  font-family: \"Aclonica\", sans-serif;\n}\n```\n\n## Configuration\n\nYou can customize fontless with various options:\n\n```js\nfontless({\n  // Configure available providers\n  providers: {\n    google: true,          // Google Fonts\n    bunny: true,           // Bunny Fonts\n    fontshare: true,       // FontShare\n    fontsource: true,      // FontSource\n    // Disable a provider\n    adobe: false\n  },\n\n  // Provider priority order\n  priority: ['google', 'bunny', 'fontshare'],\n\n  // Default font settings\n  defaults: {\n    preload: true,\n    weights: [400, 700],\n    styles: ['normal', 'italic'],\n    // Fallbacks use category-aware presets from fontaine\n    // Override specific generic families as needed\n    fallbacks: {\n      'sans-serif': ['Arial', 'Helvetica Neue'],\n      // serif, monospace, cursive, fantasy, system-ui, etc. use shared defaults\n    }\n  },\n\n  // Custom font family configurations\n  families: [\n    // Configure a specific font\n    {\n      name: 'Poppins',\n      provider: 'google',\n      weights: [300, 400, 600]\n    },\n    // Manual font configuration\n    {\n      name: 'CustomFont',\n      src: [{ url: '/fonts/custom-font.woff2', format: 'woff2' }],\n      weight: [400]\n    }\n  ],\n\n  // Asset configuration\n  assets: {\n    prefix: '/assets/_fonts'\n  },\n\n  // Experimental features\n  experimental: {\n    disableLocalFallbacks: false\n  }\n})\n```\n\n### Category-Aware Fallbacks\n\nFontless uses category-aware fallback presets shared with the [fontaine](https://github.com/unjs/fontaine) package. These presets provide optimized system fonts for different generic font families:\n\n- **sans-serif**: `BlinkMacSystemFont`, `Segoe UI`, `Helvetica Neue`, `Arial`, `Noto Sans`\n- **serif**: `Times New Roman`, `Georgia`, `Noto Serif`\n- **monospace**: `Courier New`, `Roboto Mono`, `Noto Sans Mono`\n- **cursive**: Uses handwriting category fallbacks\n- **fantasy**: Uses display category fallbacks\n- **system-ui**, **ui-serif**, **ui-sans-serif**, **ui-monospace**: Mapped to corresponding category presets\n\nYou can override fallbacks for specific generic families in the `defaults.fallbacks` configuration while keeping the shared defaults for others. This ensures consistent font fallback behavior across your application and reduces cumulative layout shift (CLS).\n\n## How It Works\n\nFontless works by:\n\n1. Scanning your CSS files for font-family declarations\n2. Resolving fonts through various providers (Google, Bunny, etc.)\n3. Generating optimized `@font-face` declarations with proper metrics\n4. Adding fallback fonts with correct metric overrides to reduce CLS\n5. Automatically downloading and managing font assets\n\n## 💻 Development\n\n- Clone this repository\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## License\n\nMade with ❤️\n\nPublished under [MIT License](./LICENCE).\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/fontless?style=flat-square\n[npm-version-href]: https://npmjs.com/package/fontless\n[npm-downloads-src]: https://img.shields.io/npm/dm/fontless?style=flat-square\n[npm-downloads-href]: https://npm.chart.dev/fontless\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/unjs/fontaine/ci.yml?branch=main&style=flat-square\n[github-actions-href]: https://github.com/unjs/fontaine/actions/workflows/ci.yml\n[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/fontaine/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/unjs/fontaine\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/unjs/fontaine.git",
    "directory": "packages/fontless"
  },
  "bugs": {
    "url": "https://github.com/unjs/fontaine/issues"
  },
  "license": "MIT",
  "versions": {
    "0.0.0": {
      "name": "fontless",
      "version": "0.0.0",
      "author": "",
      "license": "ISC",
      "_id": "fontless@0.0.0",
      "maintainers": [
        {
          "name": "gioboa",
          "email": "giorgiob.boa@gmail.com"
        }
      ],
      "dist": {
        "shasum": "beac543fadad62d93f52cd0a468bf5a329c92768",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fontless/-/fontless-0.0.0.tgz",
        "fileCount": 1,
        "integrity": "sha512-H6dHJdCcUhwgXNQtOr9RQkd84JPDq3SbGMUTzFSCXt3/oeol3umvVswN/83CYZ4ooi47apISIvofg2Pv6lvMuA==",
        "signatures": [
          {
            "sig": "MEUCIQDqJRxK4AoO7EHH4ZYXxltT1JkNOL/bAHW6aoUW8M1TZgIgcM/I4DvELBkLnF82E7Ud50KMrXCrmhu1ERQ2p2OVk/U=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 203
      },
      "main": "index.js",
      "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1"
      },
      "_npmUser": {
        "name": "gioboa",
        "email": "giorgiob.boa@gmail.com"
      },
      "_npmVersion": "10.9.0",
      "directories": {},
      "_nodeVersion": "23.3.0",
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fontless_0.0.0_1734609125770_0.4688217166324664",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "0.0.1": {
      "name": "fontless",
      "version": "0.0.1",
      "keywords": [
        "font",
        "optimization",
        "vite-plugin",
        "css",
        "javascript"
      ],
      "author": {
        "url": "https://github.com/danielroe",
        "name": "Daniel Roe",
        "email": "daniel@roe.dev"
      },
      "license": "MIT",
      "_id": "fontless@0.0.1",
      "maintainers": [
        {
          "name": "gioboa",
          "email": "giorgiob.boa@gmail.com"
        },
        {
          "name": "danielroe",
          "email": "daniel@roe.dev"
        }
      ],
      "homepage": "https://github.com/unjs/fontaine#readme",
      "bugs": {
        "url": "https://github.com/unjs/fontaine/issues"
      },
      "dist": {
        "shasum": "695166597a76f4f9611e03a6c178d5b3088491f0",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fontless/-/fontless-0.0.1.tgz",
        "fileCount": 4,
        "integrity": "sha512-6M/Se6c/yEqqaI3E11EetQ8D3EWV6yM8ghXn9IY/xfT4dP6Xm7FcCuiylJXc7p450QawATDTSXbmd+Vk5GtTtA==",
        "signatures": [
          {
            "sig": "MEYCIQDk2Fc7puWRy/c/90J0X7T2334Ke4SKYT/i+iOtaqQL7AIhAO4GmsT7otCxOSLOC7gFTH//Mr2pJkk+A2h1Eu2Wh1em",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 35644
      },
      "main": "./dist/index.mjs",
      "type": "module",
      "module": "./dist/index.mjs",
      "engines": {
        "node": ">=18.12.0"
      },
      "exports": {
        ".": "./dist/index.mjs"
      },
      "gitHead": "b44cc4ba9900d78f6f8febd30fa31f23e8055ed5",
      "scripts": {
        "dev": "vitest dev",
        "lint": "eslint . --fix",
        "test": "pnpm test:unit && pnpm test:types",
        "build": "unbuild",
        "prepack": "pnpm build",
        "test:unit": "vitest",
        "test:types": "tsc --noEmit",
        "prepublishOnly": "pnpm lint && pnpm test"
      },
      "_npmUser": {
        "name": "danielroe",
        "email": "daniel@roe.dev"
      },
      "repository": {
        "url": "git+https://github.com/unjs/fontaine.git",
        "type": "git",
        "directory": "packages/fontless"
      },
      "_npmVersion": "10.9.2",
      "description": "Magical plug-and-play font optimization for modern web applications",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "22.14.0",
      "dependencies": {
        "ufo": "^1.6.1",
        "defu": "^6.1.4",
        "jiti": "^2.4.2",
        "ohash": "^2.0.11",
        "pathe": "^2.0.3",
        "consola": "^3.4.2",
        "esbuild": "^0.25.4",
        "unifont": "^0.5.0",
        "css-tree": "^3.1.0",
        "fontaine": "workspace:*",
        "unstorage": "^1.16.0",
        "magic-string": "^0.30.17"
      },
      "typesVersions": {
        "*": {
          "*": [
            "./dist/index.d.mts"
          ]
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "vite": "6.3.5",
        "rollup": "4.41.0",
        "vitest": "3.1.4",
        "unbuild": "3.5.0",
        "typescript": "5.8.3",
        "@types/css-tree": "2.3.10",
        "@vitest/coverage-v8": "3.1.4"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fontless_0.0.1_1747833958217_0.9662635106076571",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "0.0.2": {
      "name": "fontless",
      "version": "0.0.2",
      "keywords": [
        "font",
        "optimization",
        "vite-plugin",
        "css",
        "javascript"
      ],
      "author": {
        "url": "https://github.com/danielroe",
        "name": "Daniel Roe",
        "email": "daniel@roe.dev"
      },
      "license": "MIT",
      "_id": "fontless@0.0.2",
      "maintainers": [
        {
          "name": "gioboa",
          "email": "giorgiob.boa@gmail.com"
        },
        {
          "name": "danielroe",
          "email": "daniel@roe.dev"
        }
      ],
      "homepage": "https://github.com/unjs/fontaine#readme",
      "bugs": {
        "url": "https://github.com/unjs/fontaine/issues"
      },
      "dist": {
        "shasum": "7c1ef83fc34ae728cfb9763435773df6ebd1dcdc",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fontless/-/fontless-0.0.2.tgz",
        "fileCount": 5,
        "integrity": "sha512-duDdbyLChMc7YGnBsO25kwqjWJOxr0Noy3NHJeYkQCUA4MlL+lp4eeNx4X4OLLOpkCVUMu1fN2IZuoGjJJAhXg==",
        "signatures": [
          {
            "sig": "MEQCIBnW7vdBM6Y9XbACci+bl9QK3GeLJK1MCcrl7vpYFQ7tAiBMYre799sRWv4eEM9/v2mFjq1DC3HcNO8R5tC41Aqeqw==",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 36627
      },
      "main": "./dist/index.mjs",
      "type": "module",
      "_from": "file:fontless-0.0.2.tgz",
      "module": "./dist/index.mjs",
      "engines": {
        "node": ">=18.12.0"
      },
      "exports": {
        ".": "./dist/index.mjs"
      },
      "scripts": {
        "dev": "vitest dev",
        "lint": "eslint . --fix",
        "test": "pnpm test:unit && pnpm test:types",
        "build": "unbuild",
        "test:unit": "vitest",
        "test:types": "tsc --noEmit"
      },
      "_npmUser": {
        "name": "danielroe",
        "email": "daniel@roe.dev"
      },
      "_resolved": "/private/var/folders/48/0bsggqvn049_nfcq7msw2njw0000gn/T/64238bd50b550a12f44514961406b1fb/fontless-0.0.2.tgz",
      "_integrity": "sha512-duDdbyLChMc7YGnBsO25kwqjWJOxr0Noy3NHJeYkQCUA4MlL+lp4eeNx4X4OLLOpkCVUMu1fN2IZuoGjJJAhXg==",
      "repository": {
        "url": "git+https://github.com/unjs/fontaine.git",
        "type": "git",
        "directory": "packages/fontless"
      },
      "_npmVersion": "10.9.2",
      "description": "Magical plug-and-play font optimization for modern web applications",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "22.14.0",
      "dependencies": {
        "ufo": "^1.6.1",
        "defu": "^6.1.4",
        "jiti": "^2.4.2",
        "ohash": "^2.0.11",
        "pathe": "^2.0.3",
        "consola": "^3.4.2",
        "esbuild": "^0.25.4",
        "unifont": "^0.5.0",
        "css-tree": "^3.1.0",
        "fontaine": "0.6.0",
        "unstorage": "^1.16.0",
        "magic-string": "^0.30.17"
      },
      "typesVersions": {
        "*": {
          "*": [
            "./dist/index.d.mts"
          ]
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "vite": "6.3.5",
        "rollup": "4.41.0",
        "vitest": "3.1.4",
        "unbuild": "3.5.0",
        "typescript": "5.8.3",
        "@types/css-tree": "2.3.10",
        "@vitest/coverage-v8": "3.1.4"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fontless_0.0.2_1747840199044_0.3996154698270433",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "0.1.0": {
      "name": "fontless",
      "version": "0.1.0",
      "keywords": [
        "font",
        "optimization",
        "vite-plugin",
        "css",
        "javascript"
      ],
      "author": {
        "url": "https://github.com/danielroe",
        "name": "Daniel Roe",
        "email": "daniel@roe.dev"
      },
      "license": "MIT",
      "_id": "fontless@0.1.0",
      "maintainers": [
        {
          "name": "gioboa",
          "email": "giorgiob.boa@gmail.com"
        },
        {
          "name": "danielroe",
          "email": "daniel@roe.dev"
        },
        {
          "name": "qwerzl",
          "email": "me@qwerzl.me"
        }
      ],
      "homepage": "https://github.com/unjs/fontaine#readme",
      "bugs": {
        "url": "https://github.com/unjs/fontaine/issues"
      },
      "dist": {
        "shasum": "306f498f5000db5393a973e17137a7e0d026f018",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fontless/-/fontless-0.1.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-KyvRd732HuVd/XP9iEFTb1w8Q01TPSA5GaCJV9HYmPiEs/ZZg/on2YdrQmlKfi9gDGpmN5Bn27Ze/CHqk0vE+w==",
        "signatures": [
          {
            "sig": "MEUCIHW8EeDnOHNGRah6d7xen10hruI+bSe46ZQsXC5GB+niAiEA1PBV/73U0G1K1a3lPd7nw0mh6wH4wmBiWmM1eS8m9U0=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 38891
      },
      "main": "./dist/index.mjs",
      "type": "module",
      "_from": "file:fontless-0.1.0.tgz",
      "module": "./dist/index.mjs",
      "engines": {
        "node": ">=18.12.0"
      },
      "exports": {
        ".": "./dist/index.mjs"
      },
      "scripts": {
        "dev": "vitest dev",
        "lint": "eslint . --fix",
        "test": "pnpm test:unit && pnpm test:types",
        "build": "tsdown",
        "test-e2e": "playwright test",
        "test:unit": "vitest",
        "test:types": "tsc --noEmit"
      },
      "_npmUser": {
        "name": "danielroe",
        "email": "daniel@roe.dev"
      },
      "_resolved": "/private/var/folders/5g/r5lg700163d_r_6t_547flw80000gn/T/2e739dcec13776f68bcdcabc23353b76/fontless-0.1.0.tgz",
      "_integrity": "sha512-KyvRd732HuVd/XP9iEFTb1w8Q01TPSA5GaCJV9HYmPiEs/ZZg/on2YdrQmlKfi9gDGpmN5Bn27Ze/CHqk0vE+w==",
      "repository": {
        "url": "git+https://github.com/unjs/fontaine.git",
        "type": "git",
        "directory": "packages/fontless"
      },
      "_npmVersion": "11.5.1",
      "description": "Magical plug-and-play font optimization for modern web applications",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "24.5.0",
      "dependencies": {
        "ufo": "^1.6.1",
        "defu": "^6.1.4",
        "jiti": "^2.6.1",
        "ohash": "^2.0.11",
        "pathe": "^2.0.3",
        "consola": "^3.4.2",
        "esbuild": "^0.25.12",
        "unifont": "^0.6.0",
        "css-tree": "^3.1.0",
        "fontaine": "0.7.0",
        "unstorage": "^1.17.1",
        "lightningcss": "^1.30.2",
        "magic-string": "^0.30.21"
      },
      "typesVersions": {
        "*": {
          "*": [
            "./dist/index.d.mts"
          ]
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "vite": "7.2.1",
        "rollup": "4.52.5",
        "tsdown": "0.16.0",
        "vitest": "4.0.7",
        "tinyexec": "1.0.2",
        "typescript": "5.9.3",
        "@types/css-tree": "2.3.11",
        "@playwright/test": "1.56.1",
        "@vitest/coverage-v8": "4.0.7"
      },
      "peerDependencies": {
        "vite": "*"
      },
      "peerDependenciesMeta": {
        "vite": {
          "optional": true
        }
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fontless_0.1.0_1762464117861_0.9243413750691893",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "0.2.0": {
      "name": "fontless",
      "version": "0.2.0",
      "keywords": [
        "font",
        "optimization",
        "vite-plugin",
        "css",
        "javascript"
      ],
      "author": {
        "url": "https://github.com/danielroe",
        "name": "Daniel Roe",
        "email": "daniel@roe.dev"
      },
      "license": "MIT",
      "_id": "fontless@0.2.0",
      "maintainers": [
        {
          "name": "gioboa",
          "email": "giorgiob.boa@gmail.com"
        },
        {
          "name": "danielroe",
          "email": "daniel@roe.dev"
        },
        {
          "name": "qwerzl",
          "email": "me@qwerzl.me"
        }
      ],
      "homepage": "https://github.com/unjs/fontaine#readme",
      "bugs": {
        "url": "https://github.com/unjs/fontaine/issues"
      },
      "dist": {
        "shasum": "b7a70854eda2b48aa495d65e568e26f2eb278daf",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fontless/-/fontless-0.2.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-8s83ExazIxe4b1mkq/fkFMyixcstRwAZ3gj+GFQRuNFJGmwRPiFKmobWMOSWm1zGLeG0nY5vhxyGRzyr2NUxQA==",
        "signatures": [
          {
            "sig": "MEUCIGjkCSX/jRPVHF6CDpoT+HT2iPBQgdHu4N37E4Ic3lbQAiEAxV7sB34puJcZvkMuFDCVxvH7LQO2OjQ3ETL2SMy6jsk=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/fontless@0.2.0",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "unpackedSize": 40689
      },
      "main": "./dist/index.mjs",
      "type": "module",
      "_from": "file:fontless-0.2.0.tgz",
      "module": "./dist/index.mjs",
      "engines": {
        "node": ">=18.12.0"
      },
      "exports": {
        ".": "./dist/index.mjs"
      },
      "scripts": {
        "dev": "vitest dev",
        "lint": "eslint . --fix",
        "test": "pnpm test:unit && pnpm test:types",
        "build": "tsdown",
        "test-e2e": "playwright test",
        "test:unit": "vitest",
        "test:types": "tsc --noEmit"
      },
      "_npmUser": {
        "name": "GitHub Actions",
        "email": "npm-oidc-no-reply@github.com",
        "trustedPublisher": {
          "id": "github",
          "oidcConfigId": "oidc:5d63f963-8c13-491e-9630-ff434d541fab"
        }
      },
      "_resolved": "/tmp/448e00746cf60cdca00efca00454d1d8/fontless-0.2.0.tgz",
      "_integrity": "sha512-8s83ExazIxe4b1mkq/fkFMyixcstRwAZ3gj+GFQRuNFJGmwRPiFKmobWMOSWm1zGLeG0nY5vhxyGRzyr2NUxQA==",
      "repository": {
        "url": "git+https://github.com/unjs/fontaine.git",
        "type": "git",
        "directory": "packages/fontless"
      },
      "_npmVersion": "11.6.2",
      "description": "Magical plug-and-play font optimization for modern web applications",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "24.12.0",
      "dependencies": {
        "ufo": "^1.6.1",
        "defu": "^6.1.4",
        "jiti": "^2.6.1",
        "ohash": "^2.0.11",
        "pathe": "^2.0.3",
        "consola": "^3.4.2",
        "esbuild": "^0.27.0",
        "unifont": "^0.7.3",
        "css-tree": "^3.1.0",
        "fontaine": "0.8.0",
        "unstorage": "^1.17.1",
        "lightningcss": "^1.30.2",
        "magic-string": "^0.30.21"
      },
      "typesVersions": {
        "*": {
          "*": [
            "./dist/index.d.mts"
          ]
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "vite": "7.3.1",
        "rollup": "4.55.1",
        "tsdown": "0.19.0",
        "vitest": "4.0.17",
        "tinyexec": "1.0.2",
        "typescript": "5.9.3",
        "@types/css-tree": "2.3.11",
        "@playwright/test": "1.57.0",
        "@vitest/coverage-v8": "4.0.17"
      },
      "peerDependencies": {
        "vite": "*"
      },
      "peerDependenciesMeta": {
        "vite": {
          "optional": true
        }
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fontless_0.2.0_1768414255231_0.5049404192610092",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "0.2.1": {
      "name": "fontless",
      "type": "module",
      "version": "0.2.1",
      "description": "Magical plug-and-play font optimization for modern web applications",
      "author": {
        "name": "Daniel Roe",
        "email": "daniel@roe.dev",
        "url": "https://github.com/danielroe"
      },
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/unjs/fontaine.git",
        "directory": "packages/fontless"
      },
      "keywords": [
        "font",
        "optimization",
        "vite-plugin",
        "css",
        "javascript"
      ],
      "sideEffects": false,
      "exports": {
        ".": "./dist/index.mjs"
      },
      "main": "./dist/index.mjs",
      "module": "./dist/index.mjs",
      "typesVersions": {
        "*": {
          "*": [
            "./dist/index.d.mts"
          ]
        }
      },
      "engines": {
        "node": ">=18.12.0"
      },
      "peerDependencies": {
        "vite": "*"
      },
      "peerDependenciesMeta": {
        "vite": {
          "optional": true
        }
      },
      "dependencies": {
        "consola": "^3.4.2",
        "css-tree": "^3.1.0",
        "defu": "^6.1.4",
        "esbuild": "^0.27.0",
        "jiti": "^2.6.1",
        "lightningcss": "^1.30.2",
        "magic-string": "^0.30.21",
        "ohash": "^2.0.11",
        "pathe": "^2.0.3",
        "ufo": "^1.6.1",
        "unifont": "^0.7.4",
        "unstorage": "^1.17.1",
        "fontaine": "0.8.0"
      },
      "devDependencies": {
        "@playwright/test": "1.58.2",
        "@types/css-tree": "2.3.11",
        "@vitest/coverage-v8": "4.0.18",
        "rollup": "4.57.1",
        "tinyexec": "1.0.2",
        "tsdown": "0.20.3",
        "typescript": "5.9.3",
        "vite": "7.3.1",
        "vitest": "4.0.18"
      },
      "scripts": {
        "build": "tsdown",
        "dev": "vitest dev",
        "lint": "eslint . --fix",
        "test": "pnpm test:unit && pnpm test:types",
        "test-e2e": "playwright test",
        "test:unit": "vitest",
        "test:types": "tsc --noEmit"
      },
      "_id": "fontless@0.2.1",
      "bugs": {
        "url": "https://github.com/unjs/fontaine/issues"
      },
      "homepage": "https://github.com/unjs/fontaine#readme",
      "_integrity": "sha512-mUWZ8w91/mw2KEcZ6gHNoNNmsAq9Wiw2IypIux5lM03nhXm+WSloXGUNuRETNTLqZexMgpt7Aj/v63qqrsWraQ==",
      "_resolved": "/tmp/c0b201b9df43442b9189aa4a290b1a91/fontless-0.2.1.tgz",
      "_from": "file:fontless-0.2.1.tgz",
      "_nodeVersion": "24.13.0",
      "_npmVersion": "11.6.2",
      "dist": {
        "integrity": "sha512-mUWZ8w91/mw2KEcZ6gHNoNNmsAq9Wiw2IypIux5lM03nhXm+WSloXGUNuRETNTLqZexMgpt7Aj/v63qqrsWraQ==",
        "shasum": "c1cf376a902ce01e600d3fbcd87126feb24752e5",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fontless/-/fontless-0.2.1.tgz",
        "fileCount": 5,
        "unpackedSize": 40988,
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/fontless@0.2.1",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEYCIQCf6tKJJ9dQTFL6Zb8LNVlmEW0zLFxnH/+Iqf4N+bDraAIhAIsuDOrVD0/5ebk3W+Oyf1UJQWvFw3444xBJGGZgm1BZ"
          }
        ]
      },
      "_npmUser": {
        "name": "GitHub Actions",
        "email": "npm-oidc-no-reply@github.com",
        "trustedPublisher": {
          "id": "github",
          "oidcConfigId": "oidc:5d63f963-8c13-491e-9630-ff434d541fab"
        }
      },
      "directories": {},
      "maintainers": [
        {
          "name": "gioboa",
          "email": "giorgiob.boa@gmail.com"
        },
        {
          "name": "danielroe",
          "email": "daniel@roe.dev"
        },
        {
          "name": "qwerzl",
          "email": "me@qwerzl.me"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/fontless_0.2.1_1771025919356_0.476477659407204"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "fontless",
  "time": {
    "created": "2024-12-19T11:52:05.769Z",
    "modified": "2026-05-22T20:28:02.795Z",
    "0.0.0": "2024-12-19T11:52:05.917Z",
    "0.0.1": "2025-05-21T13:25:58.495Z",
    "0.0.2": "2025-05-21T15:09:59.277Z",
    "0.1.0": "2025-11-06T21:21:58.049Z",
    "0.2.0": "2026-01-14T18:10:55.460Z",
    "0.2.1": "2026-02-13T23:38:39.502Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/unjs/fontaine#readme"
}