
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
SHML is a shell framework for faster and easier script development.
HTML has CSS, terminals have "ANSI/VT100 Control Sequences". SHML makes is easy to apply some style to your shell scripts without trying to remember that Yellow = \033[33m instead Yellow is $(color yellow).
# Unix-like
$ sudo bash -c 'curl -L https://raw.githubusercontent.com/odb/shml/master/shml.sh -o /usr/local/bin/shml && chmod +x /usr/local/bin/shml'
# Darwin (Homebrew)
$ brew install shml
# NPM
$ npm install -g shml
You can just download SHML without installing it...
$ git clone https://github.com/odb/shml.git
$ wget https://raw.githubusercontent.com/odb/shml/master/shml.sh
In order to use SHML you must tell your shell environment where it is located. Lets assume that we are writing a BASH script and want to use SHML.
If you installed in using the 1-liner above you would do:
#!/usr/bin/env bash
source $(which shml)
If you downloaded SHML using git or wget you would do:
#!/usr/bin/env bash
source ./shml.sh
#!/usr/bin/env bash
source "$(which shml)"
echo "
$(fgcolor red)
This will make the text red...
$(fgcolor end)
"
View all examples: https://odb.github.io/shml/getting-started/
Contributions are more than welcome. Before submitting ANY new features please read the Contribution Guidelines.
To report any bugs or if you have a feature request feel free to open an issue.
Updating the docs requires Ruby/Jekyll to generate & view locally.
Run once:
$ cd docs/
$ gem install bundler
$ bundle install
Generate and serve:
$ bundle exec jekyll s --watch
Then go to: http://localhost:4000/shml/
FAQs
SHML is a shell framework for faster and easier script development.
The npm package shml receives a total of 6 weekly downloads. As such, shml popularity was classified as not popular.
We found that shml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.