Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
carbonate
Advanced tools
Readme
🎨 colourful sprintf
Made with ❤ at @outlandish
sprintf('I do not like %s(green) and ham.', 'green eggs')
sprintf('I do not like them, %s(yellow.bold.underline).', 'Sam-I-am')
🍪 Give some colour to your sprintf strings with chalk.
✨ Written for ES2015 environments.
👉 Use your preferred bundler and transpiler as required.
npm install --save carbonate
yarn add carbonate
// ES2015
import sprintf from 'carbonate'
// CommonJS
var sprintf = require('carbonate')
sprintf(str[, ...values]) : String
Format a string with values.
Returns a string.
Examples:
// simple colour
sprintf('I do not like %s(green) and ham.', 'green eggs')
// use chalk's chaining for bold, etc.
sprintf('I do not like them, %s(yellow.bold.underline).', 'Sam-I-am')
sprintf.log(str[, ...values])
Format and console.log a string.
All specifiers in sprintf.js
are available.
All pull requests and issues welcome!
If you're not sure how, check out the great video tutorials on egghead.io!
MIT © Sam Gluck
FAQs
colourful sprintf
The npm package carbonate receives a total of 3 weekly downloads. As such, carbonate popularity was classified as not popular.
We found that carbonate 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.