Simple examples of Ceylon NPM integration
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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.


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