UNPKG

@nodescript/core

Version:

Visual programming language for Browser and Node

33 lines 866 B
import { ModuleSpecSchema } from '../schema/ModuleSpec.js'; export const EvalSync = ModuleSpecSchema.create({ moduleName: 'Eval / Sync', version: '1.0.0', description: 'Evaluates synchronous JavaScript code with provided arguments.', keywords: ['javascript', 'expression'], params: { args: { schema: { type: 'object', }, attributes: { addItemLabel: 'Add argument', removeItemLabel: 'Remove argument', }, }, code: { schema: { type: 'string', }, hideSocket: true, attributes: { renderer: 'javascript', }, } }, result: { schema: { type: 'any', } }, }); //# sourceMappingURL=EvalSync.js.map