# edge-fs

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

Latest version **1.0.1** (published 2024-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install edge-fs
pnpm add edge-fs
yarn add edge-fs
bun add edge-fs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2024-05-16 |
| First published | 2013-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 16 |
| Dependencies | 0 |
| Unpacked size | 21.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dave Thomas |
| Maintainers | 7sharp9, agracio |

## Links

- npm: https://www.npmjs.com/package/edge-fs
- Repository: https://github.com/agracio/edge-fs
- Issues: http://github.com/agracio/edge-fs/issues
- npm.io page: https://npm.io/package/edge-fs

## Recent versions

- 1.0.1 (latest) — 2024-05-16
- 1.0.0 — 2024-05-13
- 0.2.0 — 2013-07-05
- 0.1.0-pre — 2013-07-05

## README

## edge-fs

### F# compiler for [Edge.js](https://github.com/agracio/edge-js). 

### This library is based on https://github.com/7sharp9/edge-fs all credit for original work goes to Dave Thomas. 
------

### Overview

Install edge and edge-fs modules:

``` 
npm install edge-js
npm install edge-fs
```

server.js:

```javascript
var edge = require('edge-js');

var helloFs = edge.func('fs', function () {/*
    fun input -> async { 
        return "F# welcomes " + input.ToString()
    }
*/});

helloFs('Node.js', function (error, result) {
    if (error) throw error;
    console.log(result);
});
```

Run and enjoy:

```
node server.js
F# welcomes Node.js
```

#### Supported .NET frameworks

* .NET 4.6.2
* .NET Standard 2.0

---
_Source: https://npm.io/package/edge-fs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
