Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/modprog/input_plus
Advanced input module.
https://github.com/modprog/input_plus
Last synced: 25 days ago
JSON representation
Advanced input module.
- Host: GitHub
- URL: https://github.com/modprog/input_plus
- Owner: ModProg
- License: mit
- Created: 2020-11-27T15:57:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-17T23:09:06.000Z (over 3 years ago)
- Last Synced: 2024-10-28T12:36:07.993Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 86.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Test](https://github.com/ModProg/input_plus/workflows/Deno/badge.svg)
# Input Plus
Input Plus is a module for advanced Input (multiline input, tab completion etc.)
You can try it with:
```
deno run --unstable https://deno.land/x/input_plus/examples/mod.ts
# An example repl
deno run --unstable https://deno.land/x/input_plus/examples/cli.ts
# An example yes/no promp
deno run --unstable https://deno.land/x/input_plus/examples/yesno.ts
```This is currently in early development.
## Implemented Features
- [x] Single line input
- [x] Multi line input
- [x] Tab completion
- [x] Highlighting
- [x] Yes/No Input
- [x] cliInput
- [ ] More flexible Keywords for autocomplete
- [ ] Support for highlighting
- [ ] anything else## Files
- `mod.ts` Is the main module.
- `utils.ts` Contains some utility functions to make using Input Plus more
bearable
- `helpers.ts` Contains some helpers used in the other files.
- `extensions.ts` Contains the extensions for easier import
- `extensions/*.ts` Implementation of extensions
- `examples/*.ts` Examples to showcase Input Plus
- `tests/*_test.ts` Tests (test with `deno --unstable test`)
- `deps.ts` Dependencies
- `dev_deps.ts` Development Dependencies