Skip to content

A lightweight NPM package that infers TypeScript types from JavaScript objects, generating type definitions dynamically.

Notifications You must be signed in to change notification settings

rashadataf/autotypex

Repository files navigation

AutoTypeX Monorepo 🚀

Automatically infer TypeScript types from JavaScript objects & JSON files!

This monorepo contains:

  • 📦 autotypex (NPM Package) → CLI & programmatic library for generating TypeScript types.
  • 🖥 autotypex-vscode (VS Code Extension) → A VS Code extension for inline type inference.

📂 Project Structure

/packages  
  ├── autotypex          # NPM package  
  ├── autotypex-vscode   # VS Code extension  

📦 NPM Package: autotypex

Dynamically analyzes JS/JSON objects and generates TypeScript types.

Installation

yarn add autotypex
or
npm install autotypex

📌 More details: packages/autotypex/README.md


🖥 VS Code Extension: AutoTypeX

Infer TypeScript types directly in VS Code with a single command.

Installation

  1. Open VS Code → Extensions (Ctrl+Shift+X).
  2. Search for "AutoTypeX".
  3. Click Install.

📌 More details: packages/autotypex-vscode/README.md


🐜 License

MIT License © 2025 Rashad

🚀 Happy Coding!

About

A lightweight NPM package that infers TypeScript types from JavaScript objects, generating type definitions dynamically.

Resources

Stars

Watchers

Forks

Packages

No packages published