Simple examples of Ceylon NPM integration
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ceylon
.idea
source/eg/npm
.gitignore
README.md
ceylon-examples-npm.iml
ceylonb
ceylonb.bat

README.md

Ceylon NPM integration examples

This repository contains some very simple examples showing how a Ceylon module can make use of JavaScript modules belonging to the node package manager.

Requirements

If you don't already have Ceylon installed, you don't need to explicitly install it, since the ceylonb command is self-installing.

Compiling and running

Compile the examples by typing

ceylon compile-js

which automatically calls npm to install the dependencies.

Run the examples using

ceylon run-js -x runXmlParser eg.npm
ceylon run-js -x runHtmlRequest eg.npm
ceylon run-js -x runCommander eg.npm --pineapple --cheese parmesan