sourcejs / sourcejs-tpl-middleware

Middleware starting template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SourceJS Plugin template

Demo of basic SourceJS Middleware structure. Read more about Middleware development in docs http://sourcejs.com/docs/api/plugins.

Compatible with SourceJS ~0.4.0.

To create new SourceJS Middleware, we recommend using the official generator - https://github.com/sourcejs/generator-sourcejs.

Middleware install instructions example

To install middleware, run npm command in sourcejs/user folder:

npm install sourcejs-tpl-plugin --save

After restarting your app, middleware will be loaded automatically. To disable it, remove npm module and restart the app.

More examples

About

Middleware starting template.

License:MIT License


Languages

Language:JavaScript 100.0%