Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jweinst1/jscomp

A node package for generating clean javascript code
https://github.com/jweinst1/jscomp

Last synced: 5 days ago
JSON representation

A node package for generating clean javascript code

Awesome Lists containing this project

README

        

#jscomp

jscomp is a node package that acts as library for writing and compiling to javascript. It contains many functions that acts as templates
for common targets, like variable declaration, for loops, classes, and more. jscomp is useful for anything that involves generating javascript.

##Installation

To install, simply use npm first

```
$ npm install jscomp
```

Then require

```
var jsc = require('jscomp');
jscomp.std._while("x > 4", "consol.log(5)");
```