0.2.0 • Published 11 years ago

edge-fs v0.2.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

edge-fs

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;
        console.log(result);
    });
8. Test with ```node testfile.js```

Ill be writing more documentation over time.