Code Monkey home page Code Monkey logo

simplytranspile's Introduction

SimplyTranspile

A basic simple Typed-JS to JS transpiler

Simply transpile will remove all the class annotations in your Typed-JS files in order to make them directly executable in you favorite browser.

Why?

Having class annotations makes your code a De Facto TypeScript program. But it is not its purpose to fully support TypeScript. Rather, it is designed to allow inserting type annotations in your JavaScript code so you can take advantage of all the tooling available for TypeScript, such as:

  • Code navigation
  • Browsing references, definitions, declarations
  • Error detections
  • Code completion
  • Parameter definitions

All this without having to surrender JavaScript readability once transferred in the browser (through transpiling or WebPack). This makes your code easier and faster to debug which is especialy great in a prototyping environment. (BTW, SimplyTranspile is NOT intented to be used in a productioon environment)

How?

In VSCode, open a new Terminal Window. Type : node SimplyTranspile.js

The program will then monitor a web/ts folder structure and will mirror (every 2 seconds) all updated .TS (and .JS) files into a web/js folder .

To terminate the program, simply CTRL-C the Terminal window.

Et Voilà!

Want to contribute?

Pull requests are welcomed but keep in mind this is to be kept a small program... (Unuseful or changes introducing any dependencies will be kindly rejected!)

simplytranspile's People

Contributors

lintense avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.