expressimplified

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i expressimplified

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

3.41 kB

Total Files

5

Last publish

Collaborators

  • gavingogaming