var slugify = require("slugify");

var path ="/api/hello"
var method ="POST"

path = path.replace(/\//g,"_");
console.log(slugify(path.substring(1),"_")); // returns some-string
console.log(slugify(path+"_"+method.toUpperCase(),"_"))
