955 B
955 B
This is an example repository for NodeJS scripts on BASH
By combining two powerful scripts it could be possible to have shell scripts with real object orientation self describing functions for bash-completion.
Tab completion for Javascript files: https://github.com/f/omelette/tree/master
Example for Tab completion with commander: https://github.com/tj/commander.js/issues/385#issuecomment-1457773417
Use universal shebang
https://unix.stackexchange.com/questions/65235/universal-node-js-shebang
Set location for npm packages with repl sessions
https://sabljakovich.medium.com/how-to-use-npm-packages-with-node-js-repl-sessions-cd77300ebfe2
Dependencies versionn
The iSH-App on iOS has the following latest versions available
- nodejs v16.11.1
- npm v7.17.0
These versions are deprecated, but if we want to use these scripts on iSH, we have to make sure they run on that outdated versions.
- only commander v11 supports nodejs v16