nkint
nkint

Reputation: 11733

NodeJs for Embedded device: lighter alternative to express.js

I'm looking for a lighter alternative to express.js for build up a simple rest server in embedded device (OpenWRT).

I need few feature that I'm used to inside express.js:

is there any choice? I tried to make it vanilla javascript but I'm not so experienced and I had problem in the basic auth middleware and in the body parser..

Upvotes: 1

Views: 724

Answers (1)

clay
clay

Reputation: 6017

I've been using restify for a while now and it works well for simple REST APIs. Not as full featured as express, but is well documented and supported for most cases.

Upvotes: 1

Related Questions