
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
✏️ Emoji console logger
Using yarn:
$ yarn add cmlog
Using npm:
$ npm i cmlog
import cmlog from "cmlog"
// See types section for all available types
cmlog.debug('export something')
cmlog.warn('Something is going to happen soon')
cmlog.success('Build succeeed in 10 seconds')
cmlog.info('Some extra info is here')
cmlog.error(new Error('Foo'))
A list of all available default types:
cmlog.success(...str)
cmlog.info(...str)
cmlog.warn(...str)
cmlog.debug(...str)
cmlog.waitting(...str)
cmlog.boosting(...str)
cmlog.start(...str)
cmlog.done(...str)
cmlog.pack(title, ...str)
cmlog.module(title, ...str)
cmlog.error(Error)
cmlog.split(char, count)
cmlog.blank(lines)
// default: char = "="; count = 40
cmlog.split()
// output:
// =========================================
// default: lines = 1;
cmlog.blank()
cmlog.json(obj, title)
cmlog.json("{foo:bar}","Format")
Terminal log:
⚪ Format
{
foo: bar
}
cmlog.dye(color, ...str)
return:
string
black
red
green
yellow
blue
magenta
cyan
white
gray
redBright
greenBright
yellowBright
blueBright
magentaBright
cyanBright
whiteBright
import { Cmlog } from "cmlog"
// default config
const cmlog = new Cmlog({
align : true, // whether to align info
maxLength: 8, // (align:true) the max spacings to add
debug : true, // whether to show debug log
time : false // whether to show time info
})
MIT
1.0.4 (2018-07-03)
<a name="1.0.3"></a>
FAQs
Emoji console logger
We found that cmlog 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.