carte

0.0.3 • Public • Published

Carte

Menu from Mongo collection middleware.

Usage :

carte = require("carte");
...
app.use(carte());

Or

app.use(carte({
    sort : sorting_field
    fields : [fields, to, get]
}));

By default, documents are sorted by position and available fields are route and title.

Package Sidebar

Install

npm i carte

Weekly Downloads

88

Version

0.0.3

License

MIT

Last publish

Collaborators

  • nucky