Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@heroku-cli/color
Advanced tools
heroku-cli-color`` is a command-line interface (CLI) tool for Heroku, a cloud platform for building, deploying, and managing applications. The project provides custom color options for the Heroku CLI using the chalk module.
git clone https://github.com/heroku/heroku-cli-color.git
yarn install
yarn build
Contributions are welcome! Please follow these steps:
git checkout -b my-branch-name
git commit -am 'Add some feature'
git push origin my-branch-name
import { color } from './color';
console.log(color.attachment('This text is in cyan.'));
console.log(color.addon('This text is in yellow.'));
console.log(color.configVar('This text is in green.'));
console.log(color.release('This text is in blue and bold.'));
console.log(color.cmd('This text is in cyan and bold.'));
console.log(color.pipeline('This text is in green and bold.'));
console.log(color.app('This text is in magenta and prefixed with "⬢".'));
console.log(color.heroku('This text is in magenta.'));
const coloredText = color.app('My App');
console.log(`Welcome to ${coloredText}!`);
FAQs
base CLI command for cli-engine
The npm package @heroku-cli/color receives a total of 64,285 weekly downloads. As such, @heroku-cli/color popularity was classified as popular.
We found that @heroku-cli/color demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 52 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.