
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.
 > Better "touch" command.
Better "touch" command.
To install btt-cli be sure to have installed npm or yarn.
$ node --version
If no errors let's install btt-cli with the following comand:
$ npm install btt-cli --global
# or "shorter flags"
$ npm i -g btt-cli
# or with YARN
$ yarn global add btt-cli
$ btt [path]/<filename> [...content]
Why use btt-cli instead the traditional
touch filenameor the classicecho > filename?
Because btt provides to create the path if it doesn't exitst yet and it doesn't overwrite files.
Example:
$ touch myCoolProject/www/index.html
# Now if the path 'myCoolProject/www' doesn't exists "touch" will return error.
$ echo >> myCoolProject/www/index.html "<h1>Title</h1>"
# This will return the same error
But here comes this commandline, btt will create the path and with btt you can also write into files as like echo, is like a mix of echo and mdkir -p commands.
Example with btt:
$ btt myCoolProject/www/index.html "<h1> Title </h1>"
# You can also write without “”
$ btt Note/myFirstNote.txt Hey, this is my note!
# This will write a file with
# the phrase "Hey, this is my note!".
This commandline should work over all platforms but unfortunately right now i can't test it over all them.
Written in ❤️ with NodeJS & Atom Text Editor by @Rawnly
FAQs
 > Better "touch" command.
We found that btt-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.