{"id":16832471,"url":"https://github.com/kennethormandy/font-service-specifics","last_synced_at":"2025-03-18T00:53:27.604Z","repository":{"id":24701828,"uuid":"28113263","full_name":"kennethormandy/font-service-specifics","owner":"kennethormandy","description":"Look up a font’s service vendor, through its delivery URL.","archived":false,"fork":false,"pushed_at":"2015-01-01T21:04:07.000Z","size":200,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T23:09:26.569Z","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/kennethormandy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-17T00:22:53.000Z","updated_at":"2014-12-17T10:53:41.000Z","dependencies_parsed_at":"2022-08-06T02:15:40.802Z","dependency_job_id":null,"html_url":"https://github.com/kennethormandy/font-service-specifics","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/kennethormandy%2Ffont-service-specifics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Ffont-service-specifics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Ffont-service-specifics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Ffont-service-specifics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kennethormandy","download_url":"https://codeload.github.com/kennethormandy/font-service-specifics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762264,"owners_count":20343979,"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-13T11:49:12.304Z","updated_at":"2025-03-18T00:53:27.576Z","avatar_url":"https://github.com/kennethormandy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- [![Font CDNs logo](http://placehold.it/1456x569)](https://github.com/kennethormandy/font-service-specifics)\n\n***\n--\u003e\n\n# Font Service Specifics\n\nLook up a font’s service vendor, through its delivery URL.\n\n## Getting started\n\nIf you’re using [Browserify](browserify.org), first install the project:\n\n```sh\nnpm install --save font-service-specifics\n```\n\nThen, `require` it and do something based on the result.\n\n```js\nvar fontServiceSpecifics = require('font-service-specifics');\n\nconsole.log(fontServiceSpecifics('http://fonts.googleapis.com/css?family=Slabo+27px'));\n// Returns “Google Fonts”\n\nconsole.log(fontServiceSpecifics('fonts.typotheque.com'));\n// Returns “Typotheque”\n```\n\nIf you’re not using a module system, you can also drop in the [font-service-specifics.js](dist/font-service-specifics.js) file with a similar result:\n\n```html\n\u003cscript src=\"path/to/font-service-specifics.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nvar service = fontServiceSpecifics('http://fast.fonts.net/cssapi/7492f661-79f4-4ab2-90f2-6a9eaf984a75.css');\n\nconsole.log(service);\n// Returns “Fonts.com”\n\u003c/script\u003e\n```\n\nIn this case you’ll almost definitely want to include it with whatever other build process you’re using to include `font-service-specifics.js` in your main JavaScript file. Right now it is way larger (13kb) than it should be (\u003c1kb), which I will be fixing.\n\n## License\n\n[The MIT License (MIT)](LICENSE.md)\n\nCopyright © 2014 [Kenneth Ormandy](http://kennethormandy.com) \u0026 [Chloi Inc.](http://chloi.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethormandy%2Ffont-service-specifics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkennethormandy%2Ffont-service-specifics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethormandy%2Ffont-service-specifics/lists"}