https://github.com/jtelesforoantonio/nodejs-tiny-console
Example of a console with nodejs
https://github.com/jtelesforoantonio/nodejs-tiny-console
node node-console nodejs npm-package
Last synced: 16 days ago
JSON representation
Example of a console with nodejs
- Host: GitHub
- URL: https://github.com/jtelesforoantonio/nodejs-tiny-console
- Owner: jtelesforoantonio
- Created: 2019-08-22T15:43:26.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2019-09-06T21:55:27.000Z (over 6 years ago)
- Last Synced: 2025-01-30T07:48:58.722Z (over 1 year ago)
- Topics: node, node-console, nodejs, npm-package
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tiny Console
Example of a simple console with nodejs, you can run commands like: ls, ll, touch, mkdir, cat, cd, rm
## Installation
```shell
npm i @jtelesforoantonio/tiny-console
```
## Usage
Require TinyConsole.
```javascript
const tinyConsole = require('@jtelesforoantonio/tiny-console');
```
Basic init.
```javascript
tinyConsole.init();
```
You can set the path to init the console by passing the path as a parameter in the init method.
```javascript
tinyConsole.init('./my_custom/path');
```