Created
June 27, 2016 14:55
-
-
Save chochos/5388258b6396a4d92189c9b003e8cde5 to your computer and use it in GitHub Desktop.
Using npm from Ceylon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module test "0.1" { | |
import "npm:uuid" "2.0.2"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import uuid { v1 } | |
shared void run() { | |
dynamic { | |
print(v1()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't forget to compile and run with the
--rep=npm:
option