Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
console.log
ging done right, beautifully.
You don't have to write the 13 char length console.log()
anymore. Try:
lme.d("hello world");
lme
( logme )console.log()
or even console.log(chalk.red("hi"));
objects
and arrays
. So that, you don't have to use JSON.stringify()
anymore.
npm install --save lme
lme.<status>(message);
const lme = require('lme');
lme.d("my kitty is pinky!"); // default style, used for anonymous outputs.
lme.e("Snap! something went wrong."); // used for logging errors.
lme.s("Oh yeah!"); // used for logging success.
lme.w("Attention! Thank you for your attention."); // used for logging warnings.
Syntax : lme.<status>(message);
<status>
can have the following values:status | name | when to use | example |
---|---|---|---|
d | default | default output | lme.d("hi"); |
s | successes | on success output | lme.s("hi"); |
e | error | on error-ed output | lme.e("hi"); |
w | warning | for warnings like output | lme.w("hi"); |
h | highlight | for highlighting an output | lme.h("hi"); |
where message
can be string
/ float
/ int
/ objects
. (note that javascript treats arrays
as objects
.)
More configurations are on its way.
If you wish to file any feature/bugs, mention it on issues.
Enjoy.
MIT © Vajahath Ahmed
FAQs
Simply and beautifully log to console.
The npm package lme receives a total of 98 weekly downloads. As such, lme popularity was classified as not popular.
We found that lme 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.