How to use the zapier-platform-core.createAppHandler function in zapier-platform-core

To help you get started, we’ve selected a few zapier-platform-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zapier / zapier-platform-core / include / zapierwrapper.js View on Github external
// not intended to be loaded via require() - copied during build step
const path = require('path');
const zapier = require('zapier-platform-core');
const appPath = path.resolve(__dirname, 'index.js');
// don't `require(appPath)` out here
module.exports = { handler: zapier.createAppHandler(appPath) };

zapier-platform-core

The core SDK for CLI apps in the Zapier Developer Platform.

SEE LICENSE IN LICENSE
Latest version published 4 days ago

Package Health Score

87 / 100
Full package analysis

Similar packages