Comparing version 0.0.1 to 0.0.2
@@ -10,3 +10,3 @@ #!/usr/bin/env node | ||
(function() { | ||
var ESJava, file, fs, i, len, ref, src; | ||
var ESJava, echo, file, fs, i, len, ref, src; | ||
@@ -17,2 +17,6 @@ fs = require('fs'); | ||
echo = function(msg) { | ||
return process.stdout.write(msg + '\n'); | ||
}; | ||
if (process.argv.length > 2) { | ||
@@ -23,8 +27,8 @@ ref = process.argv.slice(2); | ||
src = fs.readFileSync(file, 'utf8'); | ||
console.log(ESJava(src)); | ||
echo(ESJava(src)); | ||
} | ||
} else { | ||
console.log("Usage: esjava file..."); | ||
echo("Usage: esjava file..."); | ||
} | ||
}).call(this); |
{ | ||
"name": "esjava", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "EXPERIMENTAL Java => ES6 Transpiler", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
### ESJava: *EXPERIMENTAL* Java => ES6 Transpiler | ||
[![npm version](https://badge.fury.io/js/esjava.svg)](http://badge.fury.io/js/esjava) | ||
<!-- [![Dependency Status](https://david-dm.org/estools/escodegen.svg)](https://david-dm.org/estools/escodegen) | ||
[![devDependency Status](https://david-dm.org/estools/escodegen/dev-status.svg)](https://david-dm.org/estools/escodegen#info=devDependencies) --> | ||
[![Dependency Status](https://david-dm.org/mazko/esjava.svg)](https://david-dm.org/mazko/esjava) | ||
[![devDependency Status](https://david-dm.org/mazko/esjava/dev-status.svg)](https://david-dm.org/mazko/esjava#info=devDependencies) | ||
- [Online Demo](http://mazko.github.io/ESJava) | ||
- Real World Examples: [Lucene Tokenizers](http://mazko.github.io/blog/posts/2015/10/21/kak-perestat-bespokoitsia-i-nachat-portirovat/) | ||
- [Parser Only](http://mazko.github.io/jsjavaparser) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1551022
42109
10