https://github.com/siffogh/reason-tree
A tool similar to tree-cli to print a directory's content
https://github.com/siffogh/reason-tree
Last synced: 2 months ago
JSON representation
A tool similar to tree-cli to print a directory's content
- Host: GitHub
- URL: https://github.com/siffogh/reason-tree
- Owner: siffogh
- Created: 2018-12-27T17:03:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T13:59:06.000Z (over 6 years ago)
- Last Synced: 2025-02-09T07:31:58.601Z (4 months ago)
- Language: OCaml
- Size: 8.79 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reason-tree
> NodeJS >= 10.10.0 is requiredA tree-cli-like NodeJS tool that lists a directory’s content in the shape of a tree.
Source code for [this article](https://medium.freecodecamp.org/how-to-taste-reasonml-by-building-something-useful-7b1189b94637) on freeCodeCamp.
# 1- Compile Reason to JavaScript
## Build
```
npm run build
```## Build + Watch
```
npm run start
```# 2- Run the compiled code with Node
```
node src/Demo.bs.js
```