UNPKG

sw2express

Version:

A lite & simple cross-platform Express-like web application framework

31 lines (21 loc) 991 B
# SW=>Express > SW=>Express (also known as sw2express), is a lite & simple cross-platform Express-like web application framework. [![npm](https://img.shields.io/npm/v/sw2express)](https://npmjs.com/package/sw2express) [![Build Status](https://drone.186526.xyz/api/badges/186526/Sw2Express/status.svg)](https://drone.186526.xyz/186526/Sw2Express) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/sw2express)](https://git.186526.xyz/186526/Sw2Express/raw/branch/master/build/index.min.js) [![npm](https://img.shields.io/npm/dw/sw2express)](https://npmcharts.com/compare/sw2express?minimal=true) ```javascript import sw2express from "sw2express"; const app = new sw2express(); app.route('/').GET(async (req, rep) => "Hello World"); app.listen(3000); ``` ## Installation ```bash # Use Yarn yarn add sw2express # Use NPM npm install sw2express ``` ## License [DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE](https://git.186526.xyz/186526/Sw2Express/src/branch/master/LICENSE)