Install guppy with
npm install guppy-js
Include guppy.min.js and guppy-default.min.css in your page:
<link rel="stylesheet" href="/node_modules/guppy-js/style/guppy-default.min.css">
<script type="text/javascript" src="/node_modules/guppy-js/guppy.min.js"></script>
Initialise an instance of the editor with the ID of a div that you want to be turned into the editor.
var g1 = new Guppy("guppy1");
Putting it all together for a complete basic example:
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="/node_modules/guppy-js/style/guppy-default.min.css">
<script type="text/javascript" src="/node_modules/guppy-js/guppy.min.js"></script>
<script type="text/javascript">
window.onload = function(){
var g1 = new Guppy("guppy1");
}
</script>
</head>
<body>
<div id="guppy1" style="width:400px;"></div>
</body>
</html>