apeman-proto-session
Prototype for project with session.
Installation
$ npm install apeman-proto-session --save
Usage
/** This is an example Apemanfile.js */ 'use strict' moduleexports = $ctx: /** Database model for session */ sessionModel: /** Secret for session */ sessionSecret: "a3sdp0f9u" $pkg: /* ... */ $proto: // Inherit apeman-proto-session project. $tmpls: /* ... */ $tasks: /* ... */
Apemanfile Configurations
$pkg
Name | Value |
---|---|
name | apeman-proto-session |
version | 3.0.3 |
description | Prototype for project with session. |
$proto
$apps
Name | Description |
---|---|
session:enable | Enable session feature. |
session:flush | Add flush message support with session |
$needs
Bin | How to install |
---|---|
apeman | npm install -g apeman |
License
This software is released under the MIT License.