[![Build Status](https://secure.travis-ci.org/nodyn/nodyn.png)](http://travis-ci.org/nodyn/nodyn)

## Hey, What's Nodyn?

Nodyn is a [node.js](http://nodejs.org) compatible framework on the JVM.

Run node.js applications on the JVM and access to all that the Java world has to
provide - directly from Javascript. You've got the entire Java ecosystem at
your disposal. Nodyn supports NPM module loading and a large portion of the
current node.js API.

## Usage

Nodyn doesn't yet have an initial release. Until then, to use it, you will need
to build from source or download a CI SNAPSHOT from
[Sonatype](https://oss.sonatype.org/content/repositories/snapshots/io/nodyn/nodyn/0.1.1-SNAPSHOT/).
Download the latest zip file from Sonatype. It will contain a `./bin/nodyn`
binary.  You can use the binary to start an application from a Javascript file,
or use the REPL to experiment with small snippets of code on the command line.
The `./bin/nodyn` binary behaves nearly identical to the `node` binary.

## Building Nodyn

To build nodyn from source, check out the repo, and run `mvn install`.

    $ git clone https://github.com/nodyn/nodyn.git
    $ cd nodyn
    $ mvn install

## Website

http://nodyn.io/

[![Build Status](https://secure.travis-ci.org/nodyn/nodyn.png)](http://travis-ci.org/nodyn/nodyn)

## Hey, What's Nodyn?

Nodyn is a [node.js](http://nodejs.org) compatible framework on the JVM.

Run node.js applications on the JVM and access to all that the Java world has to
provide - directly from Javascript. You've got the entire Java ecosystem at
your disposal. Nodyn supports NPM module loading and a large portion of the
current node.js API.

## Usage

Nodyn doesn't yet have an initial release. Until then, to use it, you will need
to build from source or download a CI SNAPSHOT from
[Sonatype](https://oss.sonatype.org/content/repositories/snapshots/io/nodyn/nodyn/0.1.1-SNAPSHOT/).
Download the latest zip file from Sonatype. It will contain a `./bin/nodyn`
binary.  You can use the binary to start an application from a Javascript file,
or use the REPL to experiment with small snippets of code on the command line.
The `./bin/nodyn` binary behaves nearly identical to the `node` binary.

## Building Nodyn

To build nodyn from source, check out the repo, and run `mvn install`.

    $ git clone https://github.com/nodyn/nodyn.git
    $ cd nodyn
    $ mvn install -s support/settings.xml

## Website

http://nodyn.io/

Add `-s support/settings.xml` to install command
Add `-s support/settings.xml` to install command

`mvn install` didn't work for me (see below), but everything worked as expected after adding `-s support/settings.xml`

```
‣ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Nodyn 0.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.projectodd.rephract:rephract:jar:1.x.incremental.87 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.510 s
[INFO] Finished at: 2014-10-08T22:56:24-07:00
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nodyn: Could not resolve dependencies for project io.nodyn:nodyn:jar:0.1.1-SNAPSHOT: Failure to find org.projectodd.rephract:rephract:jar:1.x.incremental.87 in <snip work stuff> was cached in the local repository, resolution will not be reattempted until the update interval has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
```