1.0.3 • Published 1 year ago

expressimplified v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

EXPRESSimplified

The simplified version of expressjs.

With Express: Simplified, you can do simple stuff such as addPage() instead of full req, res, and other such.

Example

var expressimplified = require('expressimplified');
var app = expressimplified();

app.addPage('/', 'text/html', app.readFileContent('index.html'));
app.addRedirect('/', "https://example.com/thisIsThe?redirect=URL");

app.startServer();

TODOs / Roadmap

  1. Add custom callback-able pages to custom pages (would replace addCustomPage and make current addCustomPage as addPageData)

Changelog

1.0.3 Let you access the express app directly through yourAppVarName.App;

1.0.2 Add .d.ts (typescript exports)

1.0.1 Added README.md

1.0.0 Added main files and working systems.