alien-body

0.0.14 • Public • Published

Divsense Alien Body

Usage:

var alienId = "my-cool-divsense-alien";
var alienBody = require("alien-body")( alienId );
 
alienBody.on("head", handleHeadEvent );
 
function handleHeadEvent( req, res, next ){
 
    if( req.method === "init" ){
        res.content.head = {
          icon: "fa-star",
          text: "AnotherAlien"
        }
    }
  
    next( res );
 
}
 
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i alien-body

      Weekly Downloads

      0

      Version

      0.0.14

      License

      ISC

      Last publish

      Collaborators

      • divsense