Skip to content

A module that generates an OpenFn-readable AST from an adaptor

Notifications You must be signed in to change notification settings

OpenFn/simple-ast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple AST

Generate an AST for the exported functions in a language-package that can be read by Open Function's front-end to provide users with click-to-add function assistance for writing job expressions.

usage

This is normally called by the bundle script of OpenFn's language-packages module after the adaptor is built but before it is tarballed for a release.

cli usage

node ./lib/generate.js --adaptor ~/language-http/src/Adaptor.js --output ./tmp/ast.json