Socket
Book a DemoInstallSign in
Socket

lily-cutils

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lily-cutils

C utilities for Lily compiler

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 26 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts