
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
console loging to an other terminal. Useful to not disturb the main terminal output.
Console loging to an other terminal. Useful to not disturb the main terminal output.
This console outputs to an other terminal to avoid disturbing the layout or primary informations of the main terminal output.
Install :
npm install y-log-io
Exemple 1 : base use.
Script 1 : Get your logger (where you execute you code)
const Log= require('y-log-io');
var logger=Log.getlogger(jsonPath);
logger.log('some',{data:{txt:'abcd',list:[0,1,2]}},['a','b','c']);
Script 2 : show output logs.
const Log= require('y-log-io');
var output = Log.getOutput(theSame_jsonPath);
output.start();
See exemple_01.
Get the logger. This command returns an instance of Input.
/**
get the logger.
@param {string} fileName : path to logs json file OR a registered file alias.
@return {Input} the fake console
*/
YLogIO.getlogger(fileName)
Get the logger output. This command returns an instance of Output.
/**
get logger output.
@param {string} fileName : path to logs json file OR a registered file alias.
@return {YL.Output} the console output logger. call logger.start(); to activate.
*/
YLogIO.getOutput(fileName)
/**
activate the console.
*/
Output.start();
timeout : int default=2000.
splitTimeout : int default=2000.
startMsg : string
stackMax : int default=5.
show : object
Share the same output among files without caring about different pathes by registering an alias.
/**
register an alias name for the logs json file. useful for access in different file pathes.
@param {string} name : alias of the registered file path.
@param {string} fileName : path to logs json file.
*/
YLogIO.register(name,fileName)
The registration could be done only (but at least) once. Event in a one-shot separated script.
const Log= require('y-log-io');
Log.register('my-alias',pathToAJsonFile);
You can now call logger and output by their alias.
ex logger:
const logger= require('y-log-io').getlogger('my-alias');
ex output :
require('y-log-io').getOutput('my-alias').start();
FAQs
console loging to an other terminal. Useful to not disturb the main terminal output.
We found that y-log-io 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.