
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
coadmin-lib
Advanced tools
const { CoadminService } = require('coadmin-lib')
const coadmin_service = new CoadminService('ServiceName')
coadmin_service.report('started')
while(true) {
coadmin_service.report_every(1,'loop',false,true)
}
coadmin_service.report('finished')
coadmin_service.report_error('exception')
import { CoadminService3 } from 'coadmin-lib'
const coadmin_service = new CoadminService3('ServiceName')
coadmin_service.report('started')
import { ReportIssues } from 'coadmin-lib'
// live mode
const riLive = new ReportIssues('demoLive',{
live: true,
server: 'http://127.0.0.1:9091/api',
server_path: '/socket2.io',
output: true
})
riLive.warning('test warning')
// passive mode
const riPassive = new ReportIssues('demoPassive',{live: false, folder: '/var/coadmin'})
riPassive.warning('test warning')
use description to describe the issue but without using too many variables inside the description, you can put extra parameters as json, third parameter is for options: 'expireAfter' (in minutes)
const ReportIssues = new (require('coadmin-lib').ReportIssues)('AppName')
``
ReportIssues.info('info level description',{extra:'extra info'})
ReportIssues.warning('warn level description',{extra:'extra info'},{ expireAfter:10 })
ReportIssues.fatal('fatal level description',{extra:'extra info'})
ReportIssues.error('error level description',{extra:'extra info'})
FAQs
Coadmin Project Helper Libraries
The npm package coadmin-lib receives a total of 1 weekly downloads. As such, coadmin-lib popularity was classified as not popular.
We found that coadmin-lib demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.