Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fengari-lua/fengari-node-cli
The Lua command line application, but using fengari under node.js
https://github.com/fengari-lua/fengari-node-cli
cli fengari lua repl
Last synced: 3 months ago
JSON representation
The Lua command line application, but using fengari under node.js
- Host: GitHub
- URL: https://github.com/fengari-lua/fengari-node-cli
- Owner: fengari-lua
- License: mit
- Created: 2017-05-20T01:55:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-23T16:11:09.000Z (over 3 years ago)
- Last Synced: 2024-11-05T00:49:45.383Z (3 months ago)
- Topics: cli, fengari, lua, repl
- Language: JavaScript
- Homepage:
- Size: 102 KB
- Stars: 29
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/fengari-lua/fengari-node-cli.svg?branch=master)](https://travis-ci.org/fengari-lua/fengari-node-cli)
[![npm](https://img.shields.io/npm/v/fengari-node-cli.svg)](https://npmjs.com/package/fengari-node-cli)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![#fengari on libera.chat](https://img.shields.io/badge/chat-%23fengari-brightgreen)](https://web.libera.chat/?channels=#fengari)# fengari-node-cli
The Lua command line application, but using [fengari](https://fengari.io/) under [node.js](https://nodejs.org/)
This project consists of `fengari` and `fengaric` command line applications that provide functionality equivalent to the [`lua`](http://www.lua.org/manual/5.3/manual.html#7) and [`luac`](https://www.lua.org/manual/5.3/luac.html) programs.
## Installation
Use `npm` or [`yarn`](http://yarnpkg.com/):
```bash
npm install -g fengari-node-cli
```## Usage
```
usage: fengari [options] [script [args]]
Available options are:
-e stat execute string 'stat'
-i enter interactive mode after executing 'script'
-l name require library 'name'
-v show version information
-E ignore environment variables
-- stop handling options
- stop handling options and execute stdin
``````
usage: fengaric [options] [filename]
Available options are:
-l list (use -l -l for full listing)
-o name output to file 'name' (default is "fengaric.out")
-p parse only
-s strip debug information
-v show version information
-- stop handling options
- stop handling options and process stdin
```