UNPKG

conan

Version:

Barbarically simple framework for building deployment systems.

16 lines (12 loc) 368 B
const Conan = require("../es5/lib/conan.js"); const ConanAwsApiGatewayPlugin = require("../es5/lib/plugins/aws-gateway-api/conanAwsGatewayApiPlugin.js"); const conan = new Conan({ region: "us-east-1" }); conan.use(ConanAwsApiGatewayPlugin); conan .api("niConan") .stage("niStage"); conan.deploy((error) => { console.log("Deployment complete.", { error }); });