Security News
Python Overtakes JavaScript as Top Programming Language on GitHub
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
@types/bunyan-format
Advanced tools
TypeScript definitions for bunyan-format
npm install --save @types/bunyan-format
This package contains type definitions for bunyan-format (https://github.com/thlorenz/bunyan-format).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bunyan-format.
/// <reference types="node" />
import { Writable } from "stream";
declare namespace BunyanFormatWritable {
interface ColorFromLevel {
[level: number]: string;
}
interface Options {
outputMode?: "short" | "long" | "simple" | "json" | "bunyan" | "inspect" | undefined;
color?: boolean | undefined;
colorFromLevel?: ColorFromLevel | undefined;
levelInString?: boolean | undefined;
jsonIndent?: string | number | undefined;
}
}
/** Creates a writable stream that formats bunyan records written to it. */
interface BunyanFormatWritable extends Writable {
// eslint-disable-next-line @typescript-eslint/no-misused-new
new(options: BunyanFormatWritable.Options, output?: Writable): BunyanFormatWritable;
(options: BunyanFormatWritable.Options, output?: Writable): BunyanFormatWritable;
}
declare const BunyanFormat: BunyanFormatWritable;
export = BunyanFormat;
These definitions were written by Piotr Roszatycki, and Ashley Abbott.
FAQs
TypeScript definitions for bunyan-format
The npm package @types/bunyan-format receives a total of 11,041 weekly downloads. As such, @types/bunyan-format popularity was classified as popular.
We found that @types/bunyan-format 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
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
Security News
Dutch National Police and FBI dismantle Redline and Meta infostealer malware-as-a-service operations in Operation Magnus, seizing servers and source code.
Research
Security News
Socket is tracking a new trend where malicious actors are now exploiting the popularity of LLM research to spread malware through seemingly useful open source packages.