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

@asmtechno/service-lib

v1.0.15

Published

A common library to share functionality between microservices

Downloads

41

Readme

Service implementation library

All in-one: redis, mysql, logger, configuration and more

Introduction

The (Service-lib) is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).

Service-lib provides a level of abstraction above these common Node.js libraries like amqp, redis and soon, but also exposes their APIs directly to the developer. This gives developers the freedom to use the myriad of third-party modules which are available for the underlying platform.

Service-lib provides an out-of-the-box application architecture which allows developers and teams to create highly testable, scalable, loosely coupled, and easily maintainable applications.

While you can create a backend server or app solely in Node.js code, this library may significantly decrease the amount of code you have to write. If you are trying to look for a node js framework then you are at the right place. Here I have mentioned some of the most popular backend frameworks that developers can use. If you are looking for some of the most amazing node microservices framework then here you can find some of the best nodejs frameworks.

Features

amqpService - Auto queue declaration & binding, easy publishing, simple promise based API, auto reconnection/subscription in case of network failing

configManager - Effective configuration management is crucial for BE development, particularly when building an application operating across various development, staging, and production environments.

logger - A simple wrapper for winston, which provides basic JSON data format, easy to use. Recommended to AWS

mySqlService - Mysql wrapper is created to solve the "Cannot enqueue Handshake after already enqueuing a Handshake" error of node-mysql and more

redisService - The best wrapper, promise-based: we re-use the same code across a bunch of modules, hence this abstraction.

Installation 📦

npm i @asmtechno/service-lib

Example of use

israel-queue-server iqlib