Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
event-logger.js
Advanced tools
Projenizdeki olayların kolayca logunu tutmanıza yarayacak nodejs modülü.
npm i event-logger.js
const { eLog } = require("event-logger.js");
const { eLog } = require("event-logger.js");
const logger = new eLog() //Projemize, logların tutulacağı kayıt dosyasını oluşturur. Tek seferlik işlemdir.
logger.addLog("Whisky", "Developer")
//Girdiğimiz ilk parametre Log Verisidir. İkinci girilen parametre Log Verisinin ID'sidir girmeniz zorunludur.
Dosya Hali:
{ "Developer": "Whisky" }
const { eLog } = require("event-logger.js");
const logger = new eLog()
console.log(logger.getLog("Developer"))
//Log dosyasından "Developer" ID'sine sahip olan Log'u çektik.
Çıktı:
Whisky
const { eLog } = require("event-logger.js");
const logger = new eLog()
console.log(logger.getLogIdByValue("Whisky"))
//Log ID'sini çekmek istediğimiz Log'u yazıyoruz.
Çıktı:
[ "Developer" ]
const { eLog } = require("event-logger.js");
const logger = new eLog()
console.log(logger.checkLogById("Developer"))
//Kontrol edeceğimiz Log ID'sini girdik.
Çıktı:
true
const { eLog } = require("event-logger.js");
const logger = new eLog()
console.log(logger.checkLogByValue("Whisky"))
//Kontrol edeceğimiz Log'u girdik.
Çıktı:
true
FAQs
Projenizdeki olayların kolayca logunu tutmanıza yarayacak nodejs modülü.
The npm package event-logger.js receives a total of 1 weekly downloads. As such, event-logger.js popularity was classified as not popular.
We found that event-logger.js 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.