Skip to content

minnojs/minno-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

minno-plugins

This is a set of useful plugins for use with MinnoJS.

Count API

countAPI is a free service for keeping track of count information. This plugin returns a manager task that adds a $countAPI property to global. It is a way to keep track of your number of users, as well as allowing to devide them by conditions.

In order to use it, you need to define it as follows in your manager file (make sure to change the namespace and key to fit your needs): You can see a working example here.

define(['managerAPI','https://cdn.jsdelivr.net/gh/minnojs/[email protected]/countAPI/count.js'], function(Manager, count){

	var API = new Manager();

    API.addSequence([
        count({namespace: 'myNamespace', key: 'myKey'})
    ]);

    return API.script;
});
Argument Description
namespace countAPI names space (this should be unique to your user).
key countAPI key.
globalKey The global property holding the countAPI value (defaults to $countAPI).

About

Random plugins for MinnoJS

Resources

Stars

Watchers

Forks

Packages

No packages published