Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Node example with Kotlin

Compile your Kotlin code to JS

gradle build

Start your Node server

node node/crypto.js

Go to

ModuleKind

Kotlin documentation:
- plain (default)
- amd: is usually used on the client-side in the browser. The idea behind AMD is to load modules asynchronously, thus improving usability and performance.
- commonjs: is the module system used on the server-side, and in particular with node.js. Node modules all abide by this definition. CommonJS modules can also be used in the browser via Browserify.
- umd: tries to unify both models allowing these to be used either on the client or server

Source: https://medium.com/@Miqubel/your-first-node-js-app-with-kotlin-30e07baa0bf7

About

Simple Node example with Kotlin

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages