neverred-function
A simple http server to invoke functions
Last updated 5 months ago by joshwlewis .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install neverred-function 
SYNC missed versions from official npm registry.

Usage

const nr = require('neverred-function');

nr.invoke((event, context, logger) => {
  const input = event.number;
  const result = input ** 2;
  logger.info({ input, result });
  return JSON.stringify({result});
});

Current Tags

  • 0.0.4                                ...           latest (5 months ago)

4 Versions

  • 0.0.4                                ...           5 months ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |