Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JIT code generation tools for JavaScript

License

NotificationsYou must be signed in to change notification settings

jsonjoy-com/codegen

Repository files navigation

A no-dependencies, low-level, high-performance JIT code generation package for JavaScript.

Features

  • Zero dependencies - Lightweight and fast to install
  • High performance - Generates optimized JavaScript functions at runtime
  • Type safe - Full TypeScript support with comprehensive type definitions
  • Flexible - Supports various code generation patterns and techniques
  • Production ready - Battle-tested and optimized for real-world usage

Use Cases

  • Deep equality comparison functions with known schemas
  • JSON Patch execution with pre-known patches
  • Optimized validation and serialization functions
  • Custom function generation based on runtime data
  • Performance-critical code that benefits from JIT compilation

Installation

npm install @jsonjoy.com/codegen

Quick Start

import{Codegen}from'@jsonjoy.com/codegen';constcodegen=newCodegen();// Add your code generation logic hereconstoptimizedFunction=codegen.compile();

License

Apache-2.0

About

JIT code generation tools for JavaScript

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp