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

isp-nestjs-sdk

v0.0.2

Published

SDK containing common NestJS modules for the Home Internet ecosystem

Downloads

2

Readme

ISP NestJS SDK

The ISP NestJS SDK is a centralized repository of common modules for the Home Internet ecosystem. It is published to the NPM registry as a package and then imported into projects as a Node.js dependency via package.json.

Instead of having multiple libraries that need to be updated and import it was discussed and decided that this SDK would be a storehouse for all common NestJS code for ISP projects. Initially, this repo will be focused on supporting the HINT services.

Project inclusion

To include the SDK in your Node.js project, update package.json to have a depencency:

"@tmo-isp/isp-nestjs-sdk":"<version>"

SDK inclusions

Logging

Health

Guards

Interceptors

Error Handling

Initial setup

  1. Git
  2. NodeJS (v8.12+)
  3. NVM or NVM for Windows. n is a good choice as well.

Installation

Clone repo

$ git clone [email protected]:tmobile/isp/libs/isp-nestjs-sdk.git

Navigate to repo

$ cd path/to/cloned/repo

Set NodeJS version

$ nvm install <node version specified>
$ nvm use <node version specified>

Install Yarn

$ npm i -g yarn

Install project dependencies

$ cd path/to/project/root
$ yarn install

Run tests

$ yarn test

Developer Settings

Install the VSCode plugin ESLint by Dirk Baeumer (dbaeumer.vscode-eslint).

Publishing to NPM

After a successful code merge, the NPM registry should be updated with the latest artifact for inclusion into projects. The publish to the registry:

  • Obtain an Auth token with Publish permissions from the NPM settings page for your account (e.g. https://www.npmjs.com/settings//tokens).
  • Paste that token into the .npmrc file at the root of this project OR create an environment variable named NPM_TOKEN with its value.
  • Up the version in package.json. You cannot publish with the same version twice.
  • Use npm publish to publish to the NPM registry
  • Verify the latest package with your version appears here.

At this point, the latest version is available for inclusion into projects.