Open the console (press F12 or Ctrl+Shift+I) to test the console. You can use-try-test the library in console.
// Try to display a grid in console with thoses lines of code :
var g = new Grid({
name:"My test map",
width:10,
height:10,
nbbombs:30
}).initMap().spawnRdmBombs().show();
See the official public repo on Github.
See the Get Started guide to learn how to use the library.