{"id":16832472,"url":"https://github.com/kennethormandy/font-feature-fibbing","last_synced_at":"2025-04-11T04:32:45.325Z","repository":{"id":23651572,"uuid":"27022091","full_name":"kennethormandy/font-feature-fibbing","owner":"kennethormandy","description":"Hey, do you support the font-feature-settings CSS property? Safari, look—I know you’re lying!","archived":false,"fork":false,"pushed_at":"2016-03-26T00:05:42.000Z","size":88,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T02:39:57.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kennethormandy.com","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-11-23T04:33:48.000Z","updated_at":"2024-03-06T21:57:43.000Z","dependencies_parsed_at":"2022-08-22T02:30:53.088Z","dependency_job_id":null,"html_url":"https://github.com/kennethormandy/font-feature-fibbing","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Ffont-feature-fibbing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Ffont-feature-fibbing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Ffont-feature-fibbing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Ffont-feature-fibbing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kennethormandy","download_url":"https://codeload.github.com/kennethormandy/font-feature-fibbing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345202,"owners_count":21088231,"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.386Z","updated_at":"2025-04-11T04:32:45.269Z","avatar_url":"https://github.com/kennethormandy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Font Feature Fibbing logo](examples/logo.png)](https://github.com/kennethormandy/font-feature-fibbing)\n\n***\n\n# Font Feature Fibbing\n\nHey, do you support the `font-feature-settings` CSS property? Safari, look—I know you’re lying!\n\nThis module is (somewhat intentionally) simple—you will find out whether or not `font-feature-settings` is supported, but not _what_ `font-feature-settings` specifically. Its primary target is Safari v9.2 and lower, which misrepresented whether or not it actually exposed `font-feature-settings` to front-end designers and developers.\n\n## Getting started\n\nIf you’re using [Browserify](http://browserify.org), first install the project:\n\n```sh\nnpm install --save font-feature-fibbing\n```\n\nThen, `require` it and do something based on the result.\n\n```js\nvar supportsFontFeatureSettings = require('font-feature-fibbing');\n\nif (!supportsFontFeatureSettings()) {\n  // Add a class to `\u003chtml\u003e`\n  document.documentElement.className += ' is-withoutFontFeatureSettings';\n}\n```\n\nIf you’re not using a module system, you can also dropin the [font-feature-fibbing.js](dist/font-feature-fibbing.js) file with a similar result:\n\n```html\n\u003cscript src=\"font-feature-fibbing.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  if (!supportsFontFeatureSettings()) {\n    // Vent to the user\n    alert('ugh I really wish you could see these ligatures');\n  }\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-feature-fibbing.js` in your main JavaScript file.\n\n## License\n\n[The MIT License (MIT)](LICENSE.md)\n\nCopyright © 2014–2016 [Kenneth Ormandy](http://kennethormandy.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethormandy%2Ffont-feature-fibbing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkennethormandy%2Ffont-feature-fibbing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethormandy%2Ffont-feature-fibbing/lists"}