Top "Express" questions

Express is a minimal and flexible Node.

Function to convert timestamp to human date in javascript

How to convert this timestamp 1382086394000 to 2013-10-18 08:53:14 using a function in javascript? Currently I have this function: function cleanDate(…

javascript node.js date express timestamp
Node.js Error: Cannot find module express

I wrote my first node.js app, but it can't find express library: C:\ChatServer\Server>node server.js …

node.js express npm
How to set cookie in node js using express framework?

In my application, I need to set a cookie using the express framework.I have tried the following code but …

node.js cookies express
Proper way to set response status and JSON content in a REST API made with nodejs and express

I am playing around with Nodejs and express by building a small rest API. My question is, what is the …

node.js rest http express
Express.js: how to get remote client address

I don't completely understand how I should get a remote user IP address. Let's say I have a simple request …

node.js express ip ip-address
What does body-parser do with express?

I don't understand why we need body-parser in an Express application, as we can get data without using body-parser. And …

node.js express body-parser
Express-js can't GET my static files, why?

I've reduced my code to the simplest express-js app I could make: var express = require("express"), app = express.createServer(); app.…

node.js express
res.sendFile absolute path

If I do a res.sendfile('public/index1.html'); then I get a server console warning express deprecated res.sendfile: …

node.js express path
req.body empty on posts

All of a sudden this has been happening to all my projects. Whenever I make a post in nodejs using …

node.js express
node.js, Error: Cannot find module 'express'

I am new to Node.js, try to learn express to build my first web application. I got stuck on …

node.js express