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

ts-log-adapter

v1.0.11

Published

An abstract logger for advanced monitoring.

Downloads

8

Readme

TypeScript Logging adapter

An interface package for a logging factory with adapters for different logging libraries.
Currently supported logging libraries:

Getting Started

Before you begin, ensure you have Node.js and npm installed on your machine.

Prerequisites

  • Node.js 14.x or later
  • npm 6.x or later

Installing

Clone the repository to your local machine:

git clone https://github.com/AroenvR/logscribe

Navigate into the directory:

cd logscribe

Install the dependencies:

npm i

Rename example.env to .env

Running the application

To run the application:

npm start

To run the application's tests:

npm run test

Features

  • Preconfigured TypeScript for static typing in JavaScript
  • ESLint for linting, with a custom configuration
  • Nodemon for automatically restarting your application when file changes are detected
  • Basic structure for a Node.js project

Project Structure

  • src/: The source files of the application
  • src/__tests__/: The testing directory
  • coverage/: A detailed testing coverage report
  • dist/: The transpiled code that is used for production
  • node_modules/: The installed npm dependencies (do not modify)
  • tsconfig.json: The TypeScript compiler options
  • .gitignore: An index of files & directories which git should ignore
  • .npmignore: An index of files & directories which npm should ignore when publishing a package
  • .prettierrc: A prettier configuration file for formatting code with the npm run format script
  • jest.config.js: A configuration file for the jest testing library
  • .eslintrc.json: ESLint rules
  • .eslintignore: Files to be ignored by ESLint
  • package.json: npm package manager file, lists project information and dependencies
  • nodemon.json: Nodemon configuration file

Built With

  • Node.js - JavaScript runtime
  • TypeScript - Typed JavaScript
  • ESLint - Linter for JavaScript and TypeScript
  • Nodemon - Utility to automatically restart node applications

License

This project is licensed under the MIT License - see the LICENSE file for details