New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

downlogger

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

downlogger

A simple logger

latest
Source
npmnpm
Version
2.1.0
Version published
Weekly downloads
7
-75%
Maintainers
1
Weekly downloads
 
Created
Source

downlogger

A simple logging tool written in TypeScript

Installation

npm install downlogger

Usage

JavaScript

const DownLogger = require('downlogger');
const logger = new DownLogger();

logger.pipe('./my.log');
logger.info('This is an info message');
logger.warn('This is a warning');
logger.error('This is an error');

TypeScript

import Logger from 'downlogger';

const logger = new Logger();
logger.pipe('./my.log');
logger.info('This is an info message');
logger.warn('This is a warning');
logger.error('This is an error');

Features

  • Full TypeScript support with type declarations
  • Automatic type inference for better IDE support
  • Buffer-based logging for better performance
  • Express middleware for request logging

Development

Build

npm run build

Watch mode

npm run watch

The package automatically builds when installed via the prepare script.

Keywords

log

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

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.

Install

Related posts