{"id":13526449,"url":"https://github.com/fontello/wawoff2","last_synced_at":"2025-04-09T14:10:43.653Z","repository":{"id":28731419,"uuid":"119189085","full_name":"fontello/wawoff2","owner":"fontello","description":"WebAssembly build of Google's woff2","archived":false,"fork":false,"pushed_at":"2022-07-19T22:25:06.000Z","size":2433,"stargazers_count":72,"open_issues_count":3,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-29T10:45:08.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fontello.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"open_collective":"puzrin","patreon":"puzrin"}},"created_at":"2018-01-27T18:04:50.000Z","updated_at":"2024-10-26T19:06:40.000Z","dependencies_parsed_at":"2022-08-07T14:00:38.678Z","dependency_job_id":null,"html_url":"https://github.com/fontello/wawoff2","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontello%2Fwawoff2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontello%2Fwawoff2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontello%2Fwawoff2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontello%2Fwawoff2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fontello","download_url":"https://codeload.github.com/fontello/wawoff2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829493,"owners_count":21002995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:29.880Z","updated_at":"2025-04-09T14:10:43.634Z","avatar_url":"https://github.com/fontello.png","language":"JavaScript","readme":"woff2 for node.js (via WebAssembly)\n===================================\n\n[![CI](https://github.com/fontello/wawoff2/actions/workflows/ci.yml/badge.svg)](https://github.com/fontello/wawoff2/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/wawoff2.svg?style=flat)](https://www.npmjs.org/package/wawoff2)\n\nGoogle's [woff2](https://github.com/google/woff2) build for `node.js`, using\nWebAssembly. Why this is better than binary bindings:\n\n- works everywhere without rebuild\n\n\nInstall\n-------\n\n```sh\nnpm install wawoff2\n```\n\n\nUse Example\n-----------\n\n```js\nconst wawoff = require('wawoff2');\n\n// src - Buffer or Uint8Array\nwawoff.compress(src).then(out =\u003e {\n  // store result\n});\n```\n\nCommand-line Example\n--------------------\n\nTo compress a `.ttf` file into a `.woff2` file:\n\n```bash\nwoff2_compress.js [-h] [-v] infile [outfile]\n\nPositional arguments:\n  infile         Input .ttf file\n  outfile        Output .woff2 file (- for stdout)\n\nOptional arguments:\n  -h, --help     Show this help message and exit.\n  -v, --version  Show program's version number and exit.\n```\n\nAnd the opposite, to decompress a `.woff2` file into a `.ttf` one:\n\n```bash\nwoff2_decompress.js [-h] [-v] infile [outfile]\n\nPositional arguments:\n  infile         Input .woff2 file\n  outfile        Output .ttf file (- for stdout)\n\nOptional arguments:\n  -h, --help     Show this help message and exit.\n  -v, --version  Show program's version number and exit.\n```\n","funding_links":["https://opencollective.com/puzrin","https://patreon.com/puzrin"],"categories":["Repository","JavaScript"],"sub_categories":["Font"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffontello%2Fwawoff2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffontello%2Fwawoff2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffontello%2Fwawoff2/lists"}