lily-cutils

1.0.0 • Public • Published

lily-cutils

NPM version Build Status Gitpod ready-to-code

Lily's C Utils

Usage

With the lily-cutils CLI:

lily-cutils-dumper - v0.0.1
Convert C to JSON AST, or function signatures in JSON/Typescript

Options:
  --input, -i   Input .c or .h file
  --output, -o  Output .json file
  --mode, -m    Mode: ast (dump AST), signatures (dump as json), ts (signatures as .d.ts)  (default: signatures)

Used like such:

npx lily-cutils -i test\demo.h -o out.json

Will yield an out.json that has extracted function signature and type information from the C header or source file.

/lily-cutils/

    Package Sidebar

    Install

    npm i lily-cutils

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    15.3 kB

    Total Files

    16

    Last publish

    Collaborators

    • extremeheat