Socket
Socket
Sign inDemoInstall

evocatio

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evocatio

[![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]


Version published
Weekly downloads
8
increased by700%
Maintainers
1
Weekly downloads
 
Created
Source

evocatio

NPM Version Build Status

fns = require("evocatio")();

fns.register("whoami", => "nobody");

fns.register("context", function(){
    return this.id;
});

fns.register("namespace.async", {
    operation: function*(arg, more){
        yield asyncoperation(arg);
    }
});

fns.dispatch("whoami", {});  // "nobody"
fns.dispatch("context", {}, {id: "2"});  // "2"
fns.dispatch("namespace.async.operation", {arg: null, more: false});  // promise

FAQs

Package last updated on 20 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc