apeman-proto-session

3.0.3 • Public • Published

apeman-proto-session

Build Status Code Climate Code Coverage npm Version JS Standard

Prototype for project with session.

Installation

$ npm install apeman-proto-session --save

Usage

/** This is an example Apemanfile.js */
 
'use strict'
 
module.exports = {
  $ctx: {
    /** Database model for session */
    sessionModel: require('./db/models/session_model'),
    /** Secret for session */
    sessionSecret: "a3sdp0f9u"
  },
  $pkg: { /* ... */ },
  $proto: [
    // Inherit apeman-proto-session project.
    require('apeman-proto-session')
  ],
  $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.

Links

/apeman-proto-session/

    Package Sidebar

    Install

    npm i apeman-proto-session

    Weekly Downloads

    1

    Version

    3.0.3

    License

    MIT

    Last publish

    Collaborators

    • okunishinishi