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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@best-skn/web-utils

v1.0.1

Published

A simple library containing some web development utility objects

Readme

SKN Web Utils

TypeScript

NPM Version MIT License

 

Introduction:

A simple library consisting some web development utility objects

I mainly created this library so that I can use it in many web developing projects without duplicating codes

 

Features:

  • 💥 HTTP Method Containing Object Cursor Just Like Java Spring Boot
  • ✨ HTTP Response Status Code Containing Object
  • 📜 HTML lang attribute Value Containing Object
  • 📚 Information Regarding The Object Properties On Mouse Hover

 

Details:

httpMethod Object

  • It contains the available HTTP Method names as string
  • Java has similar Enum called HttpMethod in org.springframework.http package
  • Get all the available HTTP Methods without looking at elsewhere
  • Hover over the properties to get the information on the method
  • You need not go search on google to find out which method does what
  • For usage instruction, see Usage section

httpResponse Object

  • It contains the available HTTP Response Status Codes as number
  • Get all the available HTTP Response Status Codes without looking at elsewhere
  • Hover over the properties to get the information on the status codes
  • You need not go search on google to find out which staus code means what
  • For usage instruction, see Usage section

htmlLanguage Object

  • It contains the available values for languages of HTML lang attribute
  • Get all the available HTML lang attribute values without looking at elsewhere
  • You need not go search on google to find out the languages
  • For usage instruction, see Usage section

 

Use Case:

  • Any JS Project

 

Requirements:

This library can be used in any JS project as it has some objects only

 

Usage:

To install the package, type the following in console

npm add @best-skn/web-utils
#or
yarn add @best-skn/web-utils
#or
pnpm add @best-skn/web-utils
#or
bun add @best-skn/web-utils

You can use the library as showing below (Just an example)

For httpMethod Object

import { httpMethod } from "@best-skn/web-utils";

export const allowedMethods = [httpMethod.GET, httpMethod.POST, httpMethod.DELETE];

For httpResponse Object

import { httpResponse } from "@best-skn/web-utils";

export const allowedCodes = [httpResponse._200, httpResponse._404, httpResponse._403];

For htmlLanguage Object

import { htmlLanguage } from "@best-skn/web-utils";

const Home = () => (
  <html lang={htmlLanguage.ITALIAN}>
    {!-- Rest of the codes --}
  </html>
);

export default Home;

 

Dedicated To:

  • 👩‍🎨Prodipta Das Logno & 🧛‍♀️Atoshi Sarker Prithula: The two most special ladies of my life. My best wishes will always be with you two. May you two always be happy.
  • 💯My Parents: The greatest treasures of my life ever.

 

License:

Copyright (C) 2024 SKN Shukhan

Licensed under the MIT License