uday-rana / codeshift

A command-line tool that translates source code files into a chosen programming language.
MIT License
5 stars 4 forks source link

codeshift

Codeshift is a command-line tool to translate and transform source code files between programming languages.

codeshift tool demo: translating an express.js server to rust

Features

Requirements

Installation

Usage

codeshift [options] <output-language> <input-files...>

Arguments

Options

Example

# Converts a JavaScript file (index.js) to Go, saving the output in index.go
codeshift -o index.go go examples/index.js

codeshift file output demo

Contributing

See CONTRIBUTING.md

License

This project is licensed under the MIT License. See the LICENSE file for more details.