npm

earl-express

0.0.1 • Public • Published

earl-express

Provides the application macro, which is used as follows:

require-macros:
   earl-express -> application
require:
   cookie-parser
 
application my-app:
   use: cookie-parser
   get "/hello":
      @res.send{"Hello!"}
   post "/something":
      ...
 
port = 3000
print 'Listening on port {port}!'
my-app.listen{port, .localhost}

Package Sidebar

Install

npm i earl-express

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • breuleux