Created
June 20, 2019 13:28
-
-
Save pmurias/4b34add3cfe3495a3d48b06fc7bc96fd to your computer and use it in GitHub Desktop.
Example of using a node.js module in rakudo.js
This file contains hidden or 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
use lib 'nodejs#' ~ $*PROGRAM.parent.add('node_modules').absolute; | |
use chalk:from<node.js>; | |
say("Hello {chalk.blue("Blue")} World"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment