</>PackageGraphPackageGraph

loglevel-plugin-prefix

npmv0.8.4TypeScript

Plugin for loglevel message prefixing

Not recommended for new projects

No — loglevel-plugin-prefix should not be adopted for new projects. Last published 3006 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 3006 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 62 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding loglevel-plugin-prefix to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

62 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the loglevel-plugin-prefix README.

javascriptFull README ↗
var defaults = {
  template: '[%t] %l:',
  levelFormatter: function (level) {
    return level.toUpperCase();
  },
  nameFormatter: function (name) {
    return name || 'root';
  },
  timestampFormatter: function (date) {
    return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, '$1');
  },
  format: undefined
};

loglevel-plugin-prefix vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
loglevel-plugin-prefixthis page01MIT8 years ago
loglevel02MIT1 day ago
@open-draft/logger01MIT1 day ago
abstract-logging01MIT1 day ago
axios106.5M4MIT1 day ago
cross-fetch32.9M2MIT1 day ago

Dependencies

Declared by loglevel-plugin-prefix v0.8.4. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (11)

chai ^4.1.2chalk ^2.4.1eslint ^3.19.0eslint-config-airbnb-base ^11.3.2eslint-plugin-chai-friendly ^0.3.6eslint-plugin-import ^2.12.0loglevel ^1.6.1loglevel-plugin-mock ^0.1.0mocha ^3.5.3sinon ^2.4.1uglify-js ^3.4.0

Used by

Popular packages that depend on loglevel-plugin-prefix.

Relationship graph

Dependencies (left) and dependents (right) of loglevel-plugin-prefix.

@wdio/loggerloglevel-plugin-p…
loglevel-plugin-prefix dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 2 days apart.

Recent versions of loglevel-plugin-prefix
VersionPublishedSizeLicense
0.8.4latest8 years ago62 KBMIT
0.8.38 years agoMIT
0.8.28 years agoMIT
0.8.18 years agoMIT
0.8.08 years agoMIT
0.7.28 years agoMIT
0.7.18 years agoMIT
0.7.08 years agoMIT
0.6.08 years agoMIT
0.5.39 years agoMIT
0.5.29 years agoMIT
0.5.19 years agoMIT
0.5.09 years agoMIT
0.4.29 years agoMIT
0.4.19 years agoMIT

Overview

loglevel-plugin-prefix is an npm package that plugin for loglevel message prefixing. It has 1 known dependents in the graph. The latest version is 0.8.4, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need plugin for loglevel message prefixing and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use loglevel-plugin-prefix?

No — loglevel-plugin-prefix should not be adopted for new projects. Last published 3006 days ago.

How do I install loglevel-plugin-prefix?

Run `npm install loglevel-plugin-prefix` to add loglevel-plugin-prefix to your npm project.

What license is loglevel-plugin-prefix released under?

loglevel-plugin-prefix is distributed under the MIT license.

How popular is loglevel-plugin-prefix?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on loglevel-plugin-prefix.

Is loglevel-plugin-prefix still maintained?

The most recent release of loglevel-plugin-prefix (v0.8.4) was published 8 years ago.

Does loglevel-plugin-prefix run install scripts?

No. loglevel-plugin-prefix does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.