{"id":29146152,"url":"https://github.com/fuxy526/ngx-snowf","last_synced_at":"2026-04-21T16:32:23.325Z","repository":{"id":97523167,"uuid":"114604501","full_name":"Fuxy526/ngx-snowf","owner":"Fuxy526","description":"Snowfall component for Angular2+ -- Let it snow on your page! ❄ demo: https://fuxy526.github.io/snowf/","archived":false,"fork":false,"pushed_at":"2017-12-25T15:17:52.000Z","size":242,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T03:47:28.088Z","etag":null,"topics":["angular","snow","snowf","snowfall","snowflake"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Fuxy526.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,"governance":null}},"created_at":"2017-12-18T06:34:48.000Z","updated_at":"2017-12-25T15:15:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab3bff95-347a-47d2-91a9-36054301bb24","html_url":"https://github.com/Fuxy526/ngx-snowf","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"48e2a004da5ff8de76b458a00e3bff3e899f3e65"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fuxy526/ngx-snowf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuxy526%2Fngx-snowf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuxy526%2Fngx-snowf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuxy526%2Fngx-snowf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuxy526%2Fngx-snowf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fuxy526","download_url":"https://codeload.github.com/Fuxy526/ngx-snowf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuxy526%2Fngx-snowf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262850294,"owners_count":23374357,"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":["angular","snow","snowf","snowfall","snowflake"],"created_at":"2025-06-30T21:10:33.274Z","updated_at":"2026-04-21T16:32:23.261Z","avatar_url":"https://github.com/Fuxy526.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-snowf\n\u003cp\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ngx-snowf\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/ngx-snowf.svg\" alt=\"Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ngx-snowf\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/ngx-snowf.svg\" alt=\"Downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ngx-snowf\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/ngx-snowf.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Snowfall component for Angular2+ -- Let it snow on your page! ❄\n\n![](preview.gif)\n\n### Install\n\n#### [npm](https://www.npmjs.com/package/ngx-snowf):\n\n```bash\nnpm install ngx-snowf --save\n```\n\n### Usage\n\nadd SnowfModule to NgModule\n\n```javascript\nimport { SnowfModule } from 'ngx-snowf';\n\n@NgModule({\n    imports: [\n        SnowfModule\n    ]\n})\n```\n\nuse snowf component in template\n\n```html\n\u003cSnowf\n  [amount]=\"50\"\n  [size]=\"5\"\n  [speed]=\"1.5\"\n  [wind]=\"0\"\n  [color]=\"'#fff'\"\n  [opacity]=\"0.8\"\n  [swing]=\"1\"\n  [image]=\"\"\n  [zIndex]=\"\"\n/\u003e\n```\n\n### Default Options\n\nArgument | Type | Default Value | Description\n:---: | :---: | :---: | ---\n**amount** | *Number* | *50* | Number of snowflakes displayed at a time.\n**size** | *Number* | *5* | Size of snowflakes.\n**speed** | *Number* | *1.5* | Vertical speed of snowflakes. The larger, the snowflakes drop faster.\n**wind** | *Number* | *0* | Horizontal wind power. Wind will blow right if this is a positive number, and a negative number makes wind blow left.\n**color** | *String* | *'#fff'* | Color of snowflakes. This option accepts HEX or RGB color code, such as \"#fff\", \"#ffffff\", \"rgb(255,255,255)\".\n**opacity** | *Number* | *0.8* | The max opacity of snowflakes. The plugin will generate snowflakes with different opacity from 0 to this number.\n**swing** | *Number* | *1* | Swing offset of snowflakes. If you don't want them to swing, set this option as 0.\n**image** | *String* | *null* | Set this option to replace the snowflake with your image.\n**zIndex** | *Number* | *null* | Position of the canvas layer. Set the layer front or back by changing this value.\n\n### Others\n\n#### [snowf](https://github.com/Fuxy526/snowf.git) (use snowf with Vanilla JS)\n\n#### [react-snowf](https://github.com/Fuxy526/react-snowf.git) (use snowf with React)\n\n#### [vue-snowf](https://github.com/Fuxy526/vue-snowf.git) (use snowf with Vue)\n\n### Licence\n\nngx-snowf is open source and released under the MIT Licence.\n\nCopyright (c) 2017 Fuxy526","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuxy526%2Fngx-snowf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuxy526%2Fngx-snowf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuxy526%2Fngx-snowf/lists"}