grooscript 1.3.0

Module to work with code converted from groovy.


Platform: npm

Language: Groovy

License: Apache-2.0

Keywords: groovy, converter


View on registry:

Direct download link:

Install: npm install [email protected]

Build Status Build Status Build Status (AppVeyor) Coverage Status Maven Central Version


Converts your Groovy or Java code to JavaScript(Groovy 2.x to Javascript ECMAScript 5). You need groovy jar greater than 2.0 to make conversions. For more information about the project, see

Not a full groovy to javascript conversion. Some groovy and java features not supported, check documentation for more info. Converted code, needs grooscript.js to run. grooscript.js inside the jar in META-INF/resources for servlet 3.0 support. Also a Node.js npm module imports it.

Try online conversions here. Can convert .java and .groovy files or a text fragment as:


import org.grooscript.GrooScript

def result = GrooScript.convert '''
    def sayHello = { println "Hello ${it}!" }
    ['Groovy','JavaScript','GrooScript'].each sayHello'''

println result

Latest Versions

The latest release version is 1.3.0, released on 12-09-2016. The current development version is 1.3.1-SNAPSHOT.

Releases are available from Maven Central and Bintray.


Using gradle wrapper, only Groovy dependencies in the project. You need JDK 1.7+ to build and test the project.

First time, you have to install Node.js stuff, maybe you have to run as administrator, do it with:

./gradlew npmInstall

Create IntelliJ IDEA project:

./gradlew idea

Test project:

./gradlew test

Build project:

./gradlew build


Grails 2 plugin

Grails 3 plugin

Gradle plugin

Npmjs package


Browser and node.js demos

Spring boot and gradle plugin in this books demo

Grails 3 websockets circles demo

Grails 3.1 with gradle and grails plugins in action


Grooscript licensed under the terms of the Apache License, Version 2.0


  • Jorge Franco

  • Serge Tarkovski

  • Abel Salgado

  • Alberto Navarrete

  • Jonatas Emidio

  • yellowsnow

  • ulrichenslin

  • Lourens van Heerden

  • Ruaan van der Spuy


1.3.0 December 27, 2016
1.2.3 February 23, 2016
1.2.2 November 11, 2015
1.2.1 September 20, 2015
1.2.0 September 12, 2015
1.1.2 July 10, 2015
1.1.1 May 29, 2015
1.0.2 April 17, 2015
1.0.1 March 14, 2015
1.0.0 January 29, 2015
See all 22 releases

Project Statistics

SourceRank 12
Dependencies 0
Dependent projects 2
Dependent repositories 1
Total releases 22
Latest release
First release
Stars 174
Forks 18
Watchers 26
Contributors 7
Repo Size: 2.7 MB

Top Contributors See all

Jorge Franco Abel Salgado Romero ulrichenslin Ruaan van der Spuy Jonatas Emidio yellowsnow Lourens van Heerden

Something wrong with this page? Make a suggestion

Export .ABOUT file for this library

Last synced: 2016-12-27 22:42:58 UTC

Login to resync this project