How to use the piral-ext.createStandardApi function in piral-ext

To help you get started, we’ve selected a few piral-ext 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 smapiot / piral / src / packages / piral / src / api.ts View on Github external
export function extendPiralApi(settings: PiralExtSettings = {}, customApis: Extend | Array = []) {
  const extenders = Array.isArray(customApis) ? customApis : [customApis];
  return [...extenders, ...createStandardApi(settings)];
}

piral-ext

Set of standard plugins with component definitions for extending piral-core.

MIT
Latest version published 9 hours ago

Package Health Score

81 / 100
Full package analysis