Install
npm i project-type
// node.js
const w = require('project-type')
const sw = new w.Wsend(webhookurl)
// typescript
import w from "project-type"
const sw = new w(webhookurl)
sw.send('nube')
// javascript and typescript
sw.embedtitle = 'Hi there'
sw.embeddescrition = "there is a captain hook. "//if this description only, throw the error.
sw.esend()