Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 865 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 865 Bytes

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