sdk-code-generator
v0.3.0
Published
## Installation - npm install
Downloads
5
Readme
SDK Code Generator
Installation
- npm install
Run tests
- npm run test
Code/File structure
- src/index - Main file
- src/getQualifierSyntax - Single function that handles syntax for a qualifier
- src/getActionSyntax - Single function that handles syntax for an action
- src/getSyntax - Single function that handles syntax for a whole transformation (array of actions)
- src/utils - Utils :)
- src/interfaces - interfaces :)
- src/actions/ - Directory containing all implemented actions
- src/qualifiers/ - Directory containing all implemented qualifiers
Features / Requirements
- Support a different base asset (imageTag, videoTag, etc.)
- Support "ActionDTO" from actionExtractor
- Hooks (But needs better definitions)
- Support for inline arguments where applicable
- Generate import/require/include
- Support the ability to generate completely custom code to an SDK
Next steps
- Test various hooking possibilities (Custom action, qualifier, parsing)