Socket
Socket
Sign inDemoInstall

pnpm-logger

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pnpm-logger - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

17

lib/index.d.ts
import streamParser, { createStreamParser } from './streamParser';
import writeToConsole from './writeToConsole';
export { streamParser, createStreamParser, writeToConsole };
declare const baseLogger: any;
export default baseLogger;
declare const _default: Logger<string | object>;
export default _default;
export interface LogBase {
level: 'debug' | 'info' | 'warn' | 'error';
}
export interface LogError<T> {
(err: Error, log?: T): void;
(log?: T): void;
}
export interface Logger<T> {
debug: (log: T) => void;
info: (log: T) => void;
warn: (log: T) => void;
error: (log: T) => void;
<Y>(name: string): Logger<Y>;
debug: (log?: T) => void;
info: (log?: T) => void;
warn: (log?: T) => void;
error: LogError<T>;
}
{
"name": "pnpm-logger",
"version": "0.7.0",
"version": "0.7.1",
"description": "Logger for pnpm",

@@ -19,2 +19,5 @@ "main": "lib/index.js",

},
"engines": {
"node": ">=4"
},
"keywords": [

@@ -24,3 +27,8 @@ "pnpm",

],
"author": "Zoltan Kochan",
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io/",
"twitter": "ZoltanKochan"
},
"license": "MIT",

@@ -39,2 +47,4 @@ "bugs": {

"ghooks": "^2.0.0",
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"rimraf": "^2.5.4",

@@ -52,3 +62,11 @@ "tslint": "^5.0.0",

}
},
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
}
}
# pnpm-logger
> Logger for pnpm
<!--@shields('npm', 'travis')-->
[![npm version](https://img.shields.io/npm/v/pnpm-logger.svg)](https://www.npmjs.com/package/pnpm-logger) [![Build Status](https://img.shields.io/travis/pnpm/pnpm-logger/master.svg)](https://travis-ci.org/pnpm/pnpm-logger)
<!--/@-->
## Installation
```sh
npm i -S pnpm-logger
```
## License
[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io/)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc