Github repo: https://github.com/xdanradu/add-snow
Try it on stackblitz: https://stackblitz.com/edit/js-iabuun?file=index.js
npm install -d add-snow
import * as snow from 'add-snow';
snow.start();
<html>
<head>
<style>
body {
background-color: #222;
}
</style>
<script src="node_modules/add-snow/dist/add-snow.js"></script>
<script>
window.onload = () => {
snow.start();
};
</script>
</head>
<body></body>
</html>