florrain/locale

Express documentation adjustments

Closed this issue · 2 comments

  • express.createServer() has been replaced with express()
  • It might be more clear to show app.use( locale(supported) ) in order to clearly demonstrate that locale(supported) returns express middleware that can be used in the same way as any other middleware.
jed commented

thanks for this, @dilvie. if you can spare the time, would you mind teeing up a pull request?

It may interest you to know that I'm recommending locale in my book, "Programming JavaScript Applications".