denolib / denolib.com

Home Page:https://denolib.denolib1.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use `api/` folder (supported in Now v2) and Badgen lib

tunnckoCore opened this issue · comments

You can move the index to api/index.ts and the Now Platform automatically will use it as lambda. Also, no need for building/bundling as the platform supports TS by default.

As for the badge generation, just use the amazing badgen. Not the service badgen.net but the package which is used behind the scenes there.

All this will drastically simplify the codebase and stability.