Detalhes do pacote

es-express

nirlstudio8MITdepreciado1.0.8

This package is moved to @eslang/express.

A wrapper of ExpressJS to simplify its usage in Espresso code.

eslang, espresso, espressolang, espresso-lang

readme (leia-me)

Espresso Express

Use it in your Espresso project

The project can be any type of default, app, module or api, which created by es-npm.

add dependency

npm i --save es-express

use it in code

const express (import "es-express");

# to create a plain ExpressJS app.
var app (express app);

# to create an ExpressJS app which supports Espresso data in request body.
var api (express api);

# to create an ExpressJS app which supports Espresso data in request body and
# allow requests from any origin when called in web browsers.
var service (express service);

Or just check how it's used in Espresso's api project template.

Enjoy the Espresso.