spa-app

1.5.3 • Public • Published

Application core

build status npm version dependencies status devDependencies status Gitter

Main module to create SPA application. It's an instance of Model module. Contains common data used by other modules, handles global events. Can be used as a common events bus.

Installation

npm install spa-app

Usage

Add the instance to the scope:

var app = require('spa-app');

At run-time has the following attributes:

Name Description
app.data.time Different timestamps marks.

Development mode

There is a global var DEVELOP which activates additional consistency checks and protection logic not available in release mode.

Contribution

If you have any problem or suggestion please open an issue here. Pull requests are welcomed with respect to the JavaScript Code Style.

License

spa-app is released under the MIT License.

Package Sidebar

Install

npm i spa-app

Weekly Downloads

1

Version

1.5.3

License

MIT

Unpacked Size

55.3 kB

Total Files

20

Last publish

Collaborators

  • spasdk