sdk-code-generator

0.3.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i sdk-code-generator

Weekly Downloads

3

Version

0.3.0

License

ISC

Unpacked Size

45.3 kB

Total Files

66

Last publish

Collaborators

  • cloudinary