{"id":28348609,"url":"https://github.com/robsd/js-snowflakes","last_synced_at":"2026-05-08T13:15:02.316Z","repository":{"id":148508329,"uuid":"583931000","full_name":"robsd/js-snowflakes","owner":"robsd","description":"A JavaScript wrapper for PavelTheCoder's CSSnowflakes to activate on demand and control the amount.","archived":false,"fork":false,"pushed_at":"2023-04-03T21:56:56.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T00:26:39.202Z","etag":null,"topics":["bootstrap","bootstrap5","css","css-effects","css3","cssnowflakes","effects","html","html5","javascript","js","snow","snowflakes","snowstorm","website","website-effects","wrapper"],"latest_commit_sha":null,"homepage":"https://robsd.github.io/js-snowflakes","language":"HTML","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/robsd.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":"2022-12-31T14:11:21.000Z","updated_at":"2022-12-31T14:13:38.000Z","dependencies_parsed_at":"2023-05-20T08:45:42.071Z","dependency_job_id":null,"html_url":"https://github.com/robsd/js-snowflakes","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"7c2fe8a4ae146067862a5de0a678532316061f37"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robsd/js-snowflakes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsd%2Fjs-snowflakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsd%2Fjs-snowflakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsd%2Fjs-snowflakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsd%2Fjs-snowflakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robsd","download_url":"https://codeload.github.com/robsd/js-snowflakes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsd%2Fjs-snowflakes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261068739,"owners_count":23105148,"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":["bootstrap","bootstrap5","css","css-effects","css3","cssnowflakes","effects","html","html5","javascript","js","snow","snowflakes","snowstorm","website","website-effects","wrapper"],"created_at":"2025-05-27T18:41:09.710Z","updated_at":"2026-05-08T13:15:02.303Z","avatar_url":"https://github.com/robsd.png","language":"HTML","funding_links":["https://ko-fi.com/F1F34TIDQ"],"categories":[],"sub_categories":[],"readme":"# js-snowflakes ❄️\r\n\r\nA JavaScript wrapper for [PavelTheCoder](https://github.com/pajasevi)'s [CSSnowflakes](https://github.com/pajasevi/CSSnowflakes) to activate on demand and control the amount.\r\n\r\n## How to use\r\n\r\n1. Import the **css/style.css** and **js/script.js**.\r\n\r\n2. Call the `snowstorm(X);` function in your own script or assign it to a button with `onclick=\"snowstorm(X);\"` replacing X with how many snowflakes you want.\r\n\r\n**Note**: There are 2 styles of snowflake used for each iteration `❅` and `❆`.\r\n\r\n## Bonus tip\r\n\r\nCombine it with my [countdown script](https://github.com/robsd/js-countdown) and have it snow (virtually) on the 25th!\r\n\r\nSee my [christmas countdown](https://github.com/robsd/js-christmas-countdown) or [advent calendar](https://github.com/robsd/js-advent-calendar) scripts for an example.\r\n\r\n## Demo\r\n\r\nhttps://robsd.github.io/js-snowflakes\r\n\r\n## Support my work\r\n\r\nIf you like this repo or used any of the code, please star ⭐ it and consider supporting me below...\r\n\r\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/F1F34TIDQ)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsd%2Fjs-snowflakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobsd%2Fjs-snowflakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsd%2Fjs-snowflakes/lists"}