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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@smoozzy/http-statuses

v0.1.1

Published

Collection of HTTP statuses as named constants

Readme

Smoozzy HTTP Statuses

Collection of HTTP statuses as named constants

Status codes defined in:

Usage

import Api from '@smoozzy/api';
import {
    STATUS_OK,
    STATUS_MULTIPLE_CHOICES,
    STATUS_UNPROCESSABLE_ENTITY,
} from '@smoozzy/http-statuses';

export default new Api({
    validateStatus(status) {
        return status >= STATUS_OK && status < STATUS_MULTIPLE_CHOICES ||
            status === STATUS_UNPROCESSABLE_ENTITY;
    },
});

Status codes

1xx Informational

Code | Status Text | Description ------|------------------------------------|--------------------------------------------- 100 | Continue | Description 101 | Switching Protocols | Description 102 | Processing | Description 103 | Early Hints | Description

2xx Success

Code | Status Text | Description ------|------------------------------------|--------------------------------------------- 200 | OK | Description 201 | Created | Description 202 | Accepted | Description 203 | Non-authoritative Information | Description 204 | No Content | Description 205 | Reset Content | Description 206 | Partial Content | Description 207 | Multi-Status | Description 208 | Already Reported | Description 226 | IM Used | Description

3xx Redirection

Code | Status Text | Description ------|------------------------------------|--------------------------------------------- 300 | Multiple Choices | Description 301 | Moved Permanently | Description 302 | Found | Description 303 | See Other | Description 304 | Not Modified | Description 305 | Use Proxy | Description 307 | Temporary Redirect | Description 308 | Permanent Redirect | Description

4xx Client Error

Code | Status Text | Description ------|------------------------------------|--------------------------------------------- 400 | Bad Request | Description 401 | Unauthorized | Description 402 | Payment Required | Description 403 | Forbidden | Description 404 | Not Found | Description 405 | Method Not Allowed | Description 406 | Not Acceptable | Description 407 | Proxy Authentication Required | Description 408 | Request Timeout | Description 409 | Conflict | Description 410 | Gone | Description 411 | Length Required | Description 412 | Precondition Failed | Description 413 | Payload Too Large | Description 414 | Request-URI Too Long | Description 415 | Unsupported Media Type | Description 416 | Requested Range Not Satisfiable | Description 417 | Expectation Failed | Description 418 | I'm a teapot | Description 421 | Misdirected Request | Description 422 | Unprocessable Entity | Description 423 | Locked | Description 424 | Failed Dependency | Description 425 | Too Early | Description 426 | Upgrade Required | Description 428 | Precondition Required | Description 429 | Too Many Requests | Description 431 | Request Header Fields Too Large | Description 444 | Connection Closed Without Response | Description 451 | Unavailable For Legal Reasons | Description 499 | Client Closed Request | Description

5xx Server Error

Code | Status Text | Description ------|------------------------------------|--------------------------------------------- 500 | Internal Server Error | Description 501 | Not Implemented | Description 502 | Bad Gateway | Description 503 | Service Unavailable | Description 504 | Gateway Timeout | Description 505 | HTTP Version Not Supported | Description 506 | Variant Also Negotiates | Description 507 | Insufficient Storage | Description 508 | Loop Detected | Description 510 | Not Extended | Description 511 | Network Authentication Required | Description 599 | Network Connect Timeout Error | Description

Links