Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kennetpostigo/lwt-node

Reason Implementation of Node.js API ✨🏎🚀✨
https://github.com/kennetpostigo/lwt-node

lwt lwt-node native node reason reasonml

Last synced: about 1 month ago
JSON representation

Reason Implementation of Node.js API ✨🏎🚀✨

Awesome Lists containing this project

README

        

![lwt-node](website/static/img/readme.png)











lwt-node, a [reason](https://github.com/facebook/reason) implemention of the [node.js](https://github.com/nodejs/node) API.

## Install

First you need to install [esy](https://github.com/esy/), Sandboxed and project based installations that share build artifacts and builds, for lightning fast installations and incremental builds:

```bash
yarn global add esy

# OR with npm

npm install --global esy
```

Then go ahead and add lwt-node to your project with esy:

```bash
esy add lwt-node
```

## Usage

See https://github.com/kennetpostigo/lwt-node-starter

## Documentation

See https://kennetpostigo.github.io/lwt-node

## Contributing

See [Contributing.md](https://github.com/kennetpostigo/lwt-node/blob/master/CONTRIBUTING.md)

Missing or yet to be implemented API's are documented with compile-time warnings, are noted in the documentation and are listed in [Future.md](https://github.com/kennetpostigo/lwt-node/blob/master/Future.md). If you'd like to help contribute, please open a pull-request, no code needed! We'll try to help steer you in the right direction!

**building**

1. Clone the project
2. Run `esy install`
3. Run `esy build`

**testing**

```
esy make test
```

**Running commands**
If you want to run commands that work directly on the project, you must always prefex them with
`esy x` in order to run the command in the sandboxed environment.

## Attribution

lwt-node would not be possible without all the hard work from the maintainers
and contributors of of lwt. lwt-node is powered by lwt and the ocaml standard lib.
Lwt provides a battle tested promise implementation and async operators. If you love lwt-node
I recommend showing love to the [lwt project](https://github.com/ocsigen/lwt).

## License

MIT