npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

maester

v0.8.4

Published

Async logging and exception handling library runs on browsers and node.js

Downloads

9

Readme

maester

npm version npm download dependencies license

What is the Maester?

This project is designed for being responsible of all exception handling and logging features that a JavaScript application needs.

Why Maester?

I like standartization in general concepts like error handling and logging. I have several node.js and browser application projects and most of the time I try to keep my code design similar, portable and shareable for applicability to other scenerios. Maester is the one of the products that I have developed with this mindset.

As an exception handling and logging library,

  • Delivers base exception classes,
  • Provides a logging interface can be called in any module,
  • Event-based system can be easily subscribed by other parties,
  • Built-in and extensible loggers/appenders can be attached or detached at any time,
  • Customizable severity levels,
  • Formatters for log entries,
  • Multiplatform support for browsers and node.js,

Quick start

Execute npm install maester to install maester and its dependencies into your project directory.

Usage

For example, to append a new item to an existing array:

import maester from 'maester';

maester.info('An information message');
maester.error('An error occurred', { user: localStorage.userId });

Todo List

  • FileLogger, RollingFileLogger, StreamLogger etc.
  • Exception formatters
  • DateTime entries
  • Custom severities for each logger
  • Events for handling exceptions

See GitHub Projects for more.

Requirements

  • node.js (https://nodejs.org/)

License

Apache 2.0, for further details, please see LICENSE file

Contributing

See contributors.md

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome.

  • To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
  • To report a bug: If something does not work, please report it using GitHub Issues.

To Support

Visit my patreon profile at patreon.com/eserozvataf