ruined-sod

0.0.1 • Public • Published

ruined-sod

A node package for allowing object dispatch based on attributes of the object.

Access the dispatcher by calling Sod(), for example:

var Sod = require("ruined-sod");
var dispatcher = Sod();

This will return the default dispatcher.

To create a new dispatcher, call the function with true as a parameter.

var dispatcher = Sod(true);

The following functions are available on the dispatcher by default.

Functions

  • clear
  • dispatch
  • add
  • findexact
  • debug
  • find
  • remove

Readme

Keywords

Package Sidebar

Install

npm i ruined-sod

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • robotii