apeman-proto-session

Prototype for project with session.

Usage no npm install needed!

<script type="module">
  import apemanProtoSession from 'https://cdn.skypack.dev/apeman-proto-session';
</script>

README

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