Skip to content

keller-mark/oxc-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oxc-py

PyPI Open In Colab

Python bindings to the oxc transformer.

For the esbuild equivalent, see esbuild-py.

Usage

from oxc_py import transform

jsx = """
import * as React from 'react'
import * as ReactDOM from 'react-dom'

ReactDOM.render(
    <h1>Hello, world!</h1>,
    document.getElementById('root')
);
"""

print(transform(jsx))

Development

Setup

uv venv
source .venv/bin/activate
uv sync --extra dev

Test

uv run pytest

Resources

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published