0.1.3 • Published 5 years ago

nanobe v0.1.3

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Nanobe

Nanobe is a vanilla Node.js server with routing capabilities. It currently supports servering static files, routing, query parameters and post data.

Setup

  • Mocha is required as a global dependency for running tests.
  • npm install is required to install Chai for running tests.

Testing

Run npm test to execute the tests.

Features

  • Request body parsed in utilities.js
  • When requesting a folder, the server looks for index.html by default
  • If a matching file is not found in the public folder, all routes are checked
  • Unit testing for core features
  • Ability to parse query parameters in utilites.js
  • Support for nested routes and nested routers

Future Plans

  • Route parameters
  • Additional testing
  • Middleware support
  • Security audit

Resources

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago