{"id":17963890,"url":"https://github.com/bramstein/detect-writing-script","last_synced_at":"2025-04-03T19:27:37.187Z","repository":{"id":66078432,"uuid":"525792414","full_name":"bramstein/detect-writing-script","owner":"bramstein","description":"Detect the writing script given an array of codepoints.","archived":false,"fork":false,"pushed_at":"2023-02-02T14:26:01.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T07:36:01.227Z","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/bramstein.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":"2022-08-17T12:58:19.000Z","updated_at":"2022-08-22T07:22:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"5bbbd6c4-e431-4e89-8dab-d9f2a3e9c75c","html_url":"https://github.com/bramstein/detect-writing-script","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramstein%2Fdetect-writing-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramstein%2Fdetect-writing-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramstein%2Fdetect-writing-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramstein%2Fdetect-writing-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramstein","download_url":"https://codeload.github.com/bramstein/detect-writing-script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247064370,"owners_count":20877588,"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-10-29T11:45:47.488Z","updated_at":"2025-04-03T19:27:37.168Z","avatar_url":"https://github.com/bramstein.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Writing script detection\n\nThis library detects the writing script given an array of Unicode codepoints. You can use this, for example, to detect writing script support for fonts.\n\nUsage:\n\n```\nimport detect from 'detect-writing-script';\n\nconst scripts = detect([65, 67, 68, 86, 89, ...], 0.25);\n\n// {\n//   'Latin': {\n//     count: 182,\n//     total: 1293\n//   },\n//   ...\n// }\n```\n\nThe first value given to the `detect` function is an array with numerical codepoints and the second parameter is a threshold (0.0 - 1.0) that can be used to exclude scripts with very low counts.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramstein%2Fdetect-writing-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramstein%2Fdetect-writing-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramstein%2Fdetect-writing-script/lists"}