ea-bookmarklets

node v18.11.0
version: 4.0.0
endpointsharetweet
var express = require("@runkit/runkit/express-endpoint/1.0.0"); var app = express(exports); var bookmarklets = require("ea-bookmarklets"); app.get("/", (req,resp)=>{ resp.setHeader('Access-Control-Allow-Origin', '*'); bookmarklets.endpoint(req,resp); });
Once you create your Express app with the tonicExpress helper, it works like any other Express app. You can use middleware, declare routes, etc.
Loading…

no comments

    sign in to comment