fs=require("fs")
fs.writeFileSync("txt.txt", "my text", "ascii")
<body>
<div id="app"></div>
<div id="particles-js" class="particle"></div>
<script src="http://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script src="http://threejs.org/examples/js/libs/stats.min.js"></script>
<script type="module" src="./particlesJS/particles.js"></script>
</body>
Вряд-ли это правда