Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including edge-fs with all npm packages installed. Try it out:

var edgeFs = require("edge-fs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

edge-fs v0.2.0

Edge-fs: run F# and node.js code in-process with edge.js


This is a F# compiler for edge.js.

See edge.js overview and edge.js on GitHub for more information.

###Quick install guide

It should be pretty easy to get going on Windows:

  1. Make sure you have F# installed with Visual Studio 2012

  2. Navigate to a test project

  3. Install edge.js with npm install edgejs -g (Note you dont have to do a global package install, just omit the -g)

  4. Install edge-fs into your test project with npm install edge-fs -g

  5. create a test node.js file along the lines of:

    var edge = require('edge');
    var helloWorld = edge.func('fs', 'fun input -> async{return ".NET welcomes " + input.ToString()}');
    helloWorld('JavaScript', function (error, result) {
        if (error) throw error;
8. Test with ```node testfile.js```

Ill be writing more documentation over time.   
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free