Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

a-logger

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-logger - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

2

demo.js

@@ -5,3 +5,3 @@ var logger = require('./')

logger.info('hello info')
logger.warn('hello warn')
logger.warn('hello warn', { a: 'logger' })
logger.error('hello error')

@@ -25,6 +25,10 @@ var chalk = require('chalk')

fn(
chalk.underline[color](name) + pad(name, 5),
chalk.gray(date.toLocaleTimeString()),
msg
fn.apply(
null,
[
chalk.underline[color](name) + pad(name, 5),
chalk.gray(date.toLocaleTimeString())
].concat(
Array.prototype.slice.call(arguments, 3)
)
)

@@ -31,0 +35,0 @@ }

{
"name": "a-logger",
"version": "0.0.1",
"version": "0.1.0",
"description": "A logger.",

@@ -5,0 +5,0 @@ "main": "index.js",

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