@bethaged/orion-backend-user-code-call

1.0.0 • Public • Published

@bethaged/orion-backend-user-code-call

Utilitário que permite a invocação de códigos escritos pelo usuário

Utilização

npm install @bethaged/orion-backend-user-code-call
const { execute } = require('@bethaged/orion-backend-user-code-call');

const useCodeDir = '/tmp/codes/';
const file = 'logger';
const method = 'info';
const params = ['logging message'];

const result = await execute({ userCodeDir, file, method, params });

Readme

Keywords

none

Package Sidebar

Install

npm i @bethaged/orion-backend-user-code-call

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

1.69 kB

Total Files

4

Last publish

Collaborators

  • bethaged