do4ng / zely

🛰️ a backend framework for Node.js
https://zely.netlify.app/
MIT License
1 stars 1 forks source link

Announcement: prext v1 #11

Closed do4ng closed 1 year ago

do4ng commented 1 year ago

see this announcement in official website


It's been less than a week since prext v1 was released, but I think prext can be officially released now. We still lack a lot, but we will make more after the official release.

Features to be added

You can try these features in advance: @prext/plugin-kit.

export function get(req, res) {
  res.status(200).send(`Hello, ${req.query.name}`);
}
export const $page = {
  before(req, res) {
    console.log(`new request: ${req.params.slug}`);
  }
  after(req, res) {
    console.log("Done!");
  }
}
import { Page } from "prext";

export const $page: Page = {};

thank you😊😋😚

do4ng commented 1 year ago

Migration Guide

do4ng commented 1 year ago

v1 is here

$ npm install prext@latest