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

@rohanpradev/jobber-shared

v1.0.7

Published

Helpers library for Jobber app

Downloads

2

Readme

Jobber Shared

Publish Package to npmjs CI

Elevate your Node.js projects with this powerful shared package, empowering you with efficient file uploads to Cloudinary, robust error handling for Express applications, and streamlined logging through Pino.

Key Features

  • Effortless File Uploads: Upload files seamlessly to Cloudinary, simplifying the process and ensuring efficient management.
  • Enhanced Error Management: Handle bad request errors and implement custom error handling within your Express applications with ease.
  • Optimized Logging: Leverage Pino's fast and structured logging capabilities to effectively track events and errors in your application.

Installation

  1. Add the package using pnpm:

    pnpm add @rohanpradev/jobber-shared
  2. View documentation using pnpm:

    pnpm build-with-docs

How to use

  1. To use the pino logger which also logs to elastic search:

    import { pinoLogger } from '@rohanpradev/jobber-shared';
    
    const logger = pinoLogger(<your-elastic-search-url>, <logger-name>, <logger-level>)

Configuration

  • Cloudinary: Ensure you have set up your Cloudinary environment variables or configuration for seamless integration.
  • Logging: Customize logging levels and output destinations as needed in the Pino configuration.

Contributing

We welcome your contributions! Please follow the contributing guidelines outlined in the repository.

License

This package is licensed under the MIT License.

Additional Notes

  • Node.js Version: This package requires Node.js version 20.x.x or higher.
  • Dependency Management: This package uses pnpm for dependency management.
  • Documentation: More detailed documentation and examples for each feature are available at [Link to documentation].

Get Started Today!

Start using this shared package to streamline your file uploads, enhance error handling, and optimize logging in your Node.js projects.

Thank you for choosing this package!