{"id":19258895,"url":"https://github.com/lassehaslev/font-subsetter","last_synced_at":"2025-09-14T16:16:31.289Z","repository":{"id":89976102,"uuid":"88959928","full_name":"LasseHaslev/font-subsetter","owner":"LasseHaslev","description":"Font subsetter for node","archived":false,"fork":false,"pushed_at":"2017-04-21T08:50:59.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-13T13:02:47.506Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LasseHaslev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-21T08:18:01.000Z","updated_at":"2023-03-05T01:46:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a8c984b-b39f-4412-ae6f-f7ae675a1ae5","html_url":"https://github.com/LasseHaslev/font-subsetter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LasseHaslev/font-subsetter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Ffont-subsetter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Ffont-subsetter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Ffont-subsetter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Ffont-subsetter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LasseHaslev","download_url":"https://codeload.github.com/LasseHaslev/font-subsetter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Ffont-subsetter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275130142,"owners_count":25410645,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-09T19:14:40.255Z","updated_at":"2025-09-14T16:16:31.243Z","avatar_url":"https://github.com/LasseHaslev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @lassehaslev/font-subsetter\n\n## Install\n```bash\nnpm install @lassehaslev/font-subsetter --save\n```\n\n## Usage\n```js\n// Get font subsetter class\nvar FontSubseter = require( '@lassehaslev/font-subsetter' );\n\n// Create instance\nvar subsetter = new FontSubseter( filePath, {\n    regex: new RegExp( regex ),\n} );\n\n\n// -- Subset -- //\n// To file\nsubsetter.subset().toFile( path );\n\n// Subset to base64\nsubsetter.subset().toBase64();\n\n// -- Other functions -- //\n// Get all characters matching regex\nsubsetter.characters();\n\n// Get all charcodes matching regex\nsubsetter.charCodes();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Ffont-subsetter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flassehaslev%2Ffont-subsetter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Ffont-subsetter/lists"}