0.0.12 • Published 4 years ago
@shipengine/ipaas-loader v0.0.12
ShipEngine IPaaS App Loader
This library loads a ShipEngine IPaaS app from an NPM package. Regardless of whether the app is written in JavaScript, TypeScript, JSON, YAML, or a mix of them all, the loader reads those files, validates them, and returns a normalized structure.
Example
import ipaasLoader from "@shipengine/ipaas-loader";
async function printAppInfo() {
let app = await ipaasLoader.loadApp("/path/to/the/app");
console.log(`Successfully loaded ${app.name} v${app.version}`);
}
printAppInfo();
Installation
You can install the ShipEngine IPaaS App Loader via npm.
npm install @shipengine/ipaas-loader