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

@0ria/addlogging

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0ria/addlogging

PL Assignment npm module

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

Espree-Logging module

A small library created for an assignment that has some methods to add a console.log() showing the name and some info about a function when entering to it in nodejs.

Instalation

npm install @0ria/addlogging --save

Usage

let espreelog = require('@0ria/addlogging');

const input = `
let result = function foo(a, b) {
  let x = 'blah';
}
foo(1, 'wut', 3);
`;

const output = espreelog.addLogging(input);
console.log(`input:\n${input}\n---`);
console.log(`output:\n${output}\n---`);

Tests

npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.1.0 Initial release

FAQs

Package last updated on 10 May 2021

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