Package Exports
- code-gui
- code-gui/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (code-gui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
See contents of a folder with a Terminal UI! 🤩
Instalation
- Node.js (latest)
- npm (it's bundled with Node.js!)
But it's possible that you can upgrade, but in some cases it may cause errors.
After done that do:
- open your terminal
- open your main folder (root of your app) in your terminal
- in the terminal, type:
npm i code-gui
Usage
Note: After 1.0
, you have to add {"style":"text"}
after the specified path.
Simple Usage:
var loadDir = require("code-gui")
loadDir("C:/", {"style":"text"})
When ran the program, you may see this in the terminal:
#-- C:/
| (contents of C:/)
#------
Styles
This section is only used after 1.0.
They are loaded in {"style":"place style here"}
.
The following styles of loadDir
are:
text
(1.1.0
)emoji
(1.1.0
)emoji-hacker
(1.1.0
)
Contributing
To contribute, you have to:
- Apply to GitHub's rules
- Read this topic: https://scratch.mit.edu/discuss/topic/664129/