incarnate-cloud

4.4.2 • Public • Published

Incarnate Logo

Incarnate Cloud

Cloud Function Middleware for Incarnate

Install

npm i -S incarnate-cloud

API Docs

http://cloud.incarnate.resist.design

Usage

import {AWS} from 'incarnate-cloud';
 
module.exports = {
  handler: AWS(
    {
      subMap: {
        package: {
          subMap: {
            service: {
              factory: () => {
                return {
                  method: async arg1 => `Received: ${arg1}`
                };
              }
            }
          }
        }
      }
    },
    [
      '/package/service/method'
    ],
    'https://example.com'
  )
};

Package Sidebar

Install

npm i incarnate-cloud

Weekly Downloads

1

Version

4.4.2

License

MIT

Unpacked Size

18.6 kB

Total Files

10

Last publish

Collaborators

  • resistdesign
  • rgraffbrd