{"id":22428406,"url":"https://github.com/momsfriendlydevco/fa-icons","last_synced_at":"2025-03-27T06:43:44.600Z","repository":{"id":57127883,"uuid":"191880868","full_name":"MomsFriendlyDevCo/fa-icons","owner":"MomsFriendlyDevCo","description":"Module which returns the closest FontAwesome class to a file name","archived":false,"fork":false,"pushed_at":"2019-07-12T06:31:20.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T12:50:54.679Z","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/MomsFriendlyDevCo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-14T05:28:24.000Z","updated_at":"2020-03-25T22:39:44.000Z","dependencies_parsed_at":"2022-08-31T17:21:08.806Z","dependency_job_id":null,"html_url":"https://github.com/MomsFriendlyDevCo/fa-icons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MomsFriendlyDevCo%2Ffa-icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MomsFriendlyDevCo%2Ffa-icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MomsFriendlyDevCo%2Ffa-icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MomsFriendlyDevCo%2Ffa-icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MomsFriendlyDevCo","download_url":"https://codeload.github.com/MomsFriendlyDevCo/fa-icons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245798538,"owners_count":20673901,"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-12-05T20:14:42.798Z","updated_at":"2025-03-27T06:43:44.580Z","avatar_url":"https://github.com/MomsFriendlyDevCo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"@MomsFriendlyDevCo/Icons\n========================\nModule which returns the closest FontAwesome class to a file name.\n\n\n```javascript\nvar faIcons = require('@momsfriendlydevco/fa-icons');\n\nfaIcons('something.mp4') //= \"fas fa-file-video\"\nfaIcons('something.csv') //= \"fas fa-file-csv\"\nfaIcons('something.weird') //= \"fas fa-file\"\n```\n\n\nAPI\n===\nThis module exposes a single function which resolves with the best matching class based on an input file path.\n\n\nfaIcons(path)\n-------------\nReturns the cloest matching icon based on the internal index.\n\n\nfaIcons.index\n-------------\nCollection of rules to use when matching the path against the icon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomsfriendlydevco%2Ffa-icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmomsfriendlydevco%2Ffa-icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomsfriendlydevco%2Ffa-icons/lists"}