JavaScript Codegen

Open-source JavaScript projects categorized as Codegen

Top 6 JavaScript Codegen Projects

  1. adrenaline

    Chat with (and visualize) your codebase

  2. Civic Auth

    Web2 & Web3 login in a simple SDK. Drop Civic Auth into your app with native TS/JS support. Email login, SSO options, embedded wallets, and full session management. Minimal config. Deploy in under 5 minutes.

    Civic Auth logo
  3. astring

    🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.

  4. generator

    Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!

  5. promptr

    Promptr is a CLI tool that applies plain language instructions to the filesystem. Instructions can utilize a liquidjs based templating system. Use cases include refactoring, code generation, and experimentation.

  6. ving

    An opinionated web services starter for Nuxt3 that provides REST and per-field privileges out of the box.

  7. openapi-code-generator

    A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.

    Project mention: Use Your Type System | news.ycombinator.com | 2025-07-24

    Related https://github.com/microsoft/TypeScript/issues/54925

    My specific use case is pattern matching http status codes to an expected response type, and today I'm able to work around it with this kind of construct https://github.com/mnahkies/openapi-code-generator/blob/main... - but it's esoteric, and feels likely to be less efficient to check than what you propose / a range type.

    There's runtime checking as well in my implementation, but it's a priority for me to provide good errors at build time

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Codegen discussion

Log in or Post with

JavaScript Codegen related posts

  • How We Made Sure Big Companies Can’t Steal Our Code

    2 projects | dev.to | 30 Jan 2025
  • Show HN: AdrenalineAI – Interactive System Diagrams for Any Repo

    1 project | news.ycombinator.com | 13 Aug 2024
  • I made this AI programming assistant to generate diagrams for my code

    1 project | /r/artificial | 8 Dec 2023
  • I made a programming assistant that can visualize your code with AI

    1 project | /r/reactjs | 8 Dec 2023
  • Train an AI to understand my codebase - Guidance needed

    1 project | /r/learnmachinelearning | 27 May 2023
  • BlessingAI, a chatbot that helps you quickly understand and navigate unfamiliar codebases

    1 project | /r/ChatGPTCoding | 26 May 2023
  • [Python] J'ai construit un chatbot qui débogue mieux votre code python que Chatgpt

    1 project | /r/enfrancais | 10 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 31 Aug 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Codegen projects in JavaScript? This list will help you:

# Project Stars
1 adrenaline 3,784
2 astring 1,219
3 generator 946
4 promptr 935
5 ving 80
6 openapi-code-generator 27

Sponsored
Web2 & Web3 login in a simple SDK
Drop Civic Auth into your app with native TS/JS support. Email login, SSO options, embedded wallets, and full session management. Minimal config. Deploy in under 5 minutes.
www.civic.com