
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@rnx-kit/console
Advanced tools
@rnx-kit/console
is a simple console logger that is a subset of the logger in
@react-native-community/cli-tools
.
It is used by
Metro plugins to
ensure that log lines are consistent with @react-native-community/cli
.
Ideally, we should be using the reporter that is passed to Metro but we don't
have access to it from the customSerializer
hook. The next best thing would be
to use @react-native-community/cli-tools
but it includes a bunch of other
tools and we cannot take a dependency on any single version since we need to
support multiple versions of react-native
(and hence multiple versions of
@react-native-community/cli-tools
).
Other libraries, such as
just-task-logger
,
were also considered. However, the purpose of this package is to match with the
output of @react-native-community/cli
. just-task-logger
in particular uses
its own colour scheme and doesn't allow configuring them to match the colour
scheme.
yarn add @rnx-kit/console --dev
import { error, info, warn } from "@rnx-kit/console";
error("This is an error message");
info("This is an informational message");
warn("This is a warning");
FAQs
Simple console logger
The npm package @rnx-kit/console receives a total of 37,191 weekly downloads. As such, @rnx-kit/console popularity was classified as popular.
We found that @rnx-kit/console demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.