{"id":19030514,"url":"https://github.com/sofish/mask.js","last_synced_at":"2026-06-22T22:31:30.010Z","repository":{"id":6727569,"uuid":"7973458","full_name":"sofish/mask.js","owner":"sofish","description":"create an opacity mask to a(all) specific element(s)","archived":false,"fork":false,"pushed_at":"2014-10-30T09:22:32.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T21:02:18.355Z","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/sofish.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}},"created_at":"2013-02-02T08:15:20.000Z","updated_at":"2015-11-27T13:13:04.000Z","dependencies_parsed_at":"2022-07-10T18:00:19.084Z","dependency_job_id":null,"html_url":"https://github.com/sofish/mask.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sofish/mask.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofish%2Fmask.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofish%2Fmask.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofish%2Fmask.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofish%2Fmask.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sofish","download_url":"https://codeload.github.com/sofish/mask.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofish%2Fmask.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34668500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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-08T21:18:19.793Z","updated_at":"2026-06-22T22:31:29.992Z","avatar_url":"https://github.com/sofish.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mask.js\n\nMask.js makes it easy to add a opacity layer to DOM Element. Especially for the annoying IE bug.\n\n## Usage:\n\na `Mask` object will be automatically created and attached to `window`. It has 3 Public APIs:\n\n```js\n// debug: once the `debug` method is called, the layer's value \n// \tof opacity will set to 0.6\n// NOTE: make sure the method is called before `set`\nMask.debug()\n\n// create mask for dom element(s)\nMask.set(element1, element2, ... elementN);\n\n// remove the mask over the dom element(s)\nMask.remove(element1, element2, ... elementN);\n```\n\n## License:\n\nLicensed under MIT. (c) Sofish Lin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofish%2Fmask.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsofish%2Fmask.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofish%2Fmask.js/lists"}