Skip to content

Demonstrates a minimal code to produce a working (JavaScript only) nodejs application.

License

Notifications You must be signed in to change notification settings

martinvlk/ghcjs-node-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell + Node.js Minimal Sample

Demonstrates a minimal Haskell code to produce a working (JavaScript only) nodejs application, also shows how to depend on other nodejs modules.

We are basically writing an equivalent to this JavaScript code:

const os = require("os");
console.log(os.hostname());

To build

  • First install ghcjs according to GHCJS doc.
  • Clone this project.
  • run ghcjs -o test src/Main.hs

To run

Resources

About

Demonstrates a minimal code to produce a working (JavaScript only) nodejs application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published