wc-snake-game Web Component Getting started $ npm i wc-snake-game Put a script tag similar to this <script src='node_modules/wc-snake-game/wc-snake-game.js'></script> in the head of your index.html Then you can use the element anywhere in your template, JSX, html etc.