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

@teamteanpm2024/possimus-explicabo-repellendus

v1.0.4

Published

Downloads

7

Maintainers

shivamkalsi2024shivamkalsi2024

Keywords

irqfast-cloneansiqscall-bindECMAScript 2021optimistlibphonenumberregexpspeccoreArray.prototype.filterstyled-componentsargparsestreams2WebSocketsmakeartmime-dbpassworddayjstypesafeless cssRegExp.prototype.flagschildidquoteeast-asian-widthreact-hook-formECMAScript 5json-schema-validationmiddlewaremovecacheslicees-shim APIopensduplexObject.issharedsortedhookformmomentchaiassertionquerywordbreakbind.envstringifyTypeScriptfiltercirculari18nexecutablechromeintrinsices8StyleSheetzodhttpjQueryECMAScript 3lockfilecodestaskMapPushECMAScript 2015loadinglesscontainsdom-testing-libraryObjectinternaldeepcloneforEachsanitizationwalkingwidthECMAScript 2017preserve-symlinksmatchespositivetypemake dircode pointstesterapiclientyupshebangRxJSrmremoveefficientfseventswaitcryptES2019rapidbrowserlistObject.assigndefineutilitiesboundsymbolsECMAScript 6typed arrayECMAScript 2023ramdaenvawaitcurriedeventEmitterdomstatelesspackage managerinternal slotFloat64Arrayuuidaccessibilitycompilercompile lesstsconnecttimergbjsxbuffersprototypebluebirdurlsES3argumentsECMAScript 2019stableyaml@@toStringTagtrimStartdraghardlinkseditorassertbyteLengthstreamssuperagentstringifierdeep-clonelastarktypeprocessclonereducehttpswgetslotflattenjsonschemaes5loggerkarmafind-upUnderscoremacosES6startinstallcolorscollectionexitrfc4122SetECMAScript 2020CSSStyleDeclarationsomevalidatorpushjsonpathnativegdprsidefast-copyglobtoSortedentrieseslintquerystringbcryptutil.inspectfullwidthcollection.es6clibuffervalidationES2022multi-packageauthcss variablecopycssreduxflagcommanderframeworkgroupdatacommand-lineshellfindtypeerrorpyyamlSymbol.toStringTagES2023ArrayBuffer#sliceECMAScript 7sigintless compilerArray.prototype.findLastmkdirsJSONviewdeepcopygraphqlString.prototype.trimpropertieswritablemodulefantasy-landhooksutilsESnextteststyleguidecjkawesomesaucejwtjavascriptsetImmediateloganimationrecursivexhrdependenciesnamefastifycorspoint-freesettingsoutputvisuallaunchreact poseArrayBuffer.prototype.sliceserializetextstringrandomkoreanMicrosoftauthenticationfindLastIndexspinnerreducerReactiveExtensionssymlinkwrapcensorfastcopysetPrototypeOfArray.prototype.includesl10nsharedarraybufferequal_.extendreadmimetypesonceescapetestingautoprefixerbrowsercall-boundsortpropregularjsdiffeventsconsolespinnersresolvetoStringTagmetadatainferencepackage.jsonnested csspackagesasciiURLdir

Readme

@teamteanpm2024/possimus-explicabo-repellendus

Tests npm version npm downloads

Generates UUID for ExpressJS requests. Add an id property to the Request object.

Install

npm install --save @teamteanpm2024/possimus-explicabo-repellendus

Basic Usage

import express from 'express';
import expressRequestId from '@teamteanpm2024/possimus-explicabo-repellendus';
const PORT = 3000;
app.use(expressRequestId());

app.get('/', function (req, res, next) {
  console.log('Res id: %s', res.get('X-Request-Id'));
  return res.send(req.id);
});

app.listen(PORT, function() {
  console.log('Listening on port %d', PORT);
});

// curl localhost:3000
// Res id: e462be8c-5641-4b37-99c1-b0f16b859d2a
// e462be8c-5641-4b37-99c1-b0f16b859d2a

Custom Options Usage

import express from 'express';
import expressRequestId, { Options } from '@teamteanpm2024/possimus-explicabo-repellendus';
const PORT = 3000;
const options: Options = {
  headerName: 'pizza-id',
  setHeader: false,
  generator: () => `pizza_${Math.random()}`;
};
app.use(expressRequestId(options));

app.get('/', function (req, res, next) {
  console.log('Res id: %s', res.get('pizza-id'));
  return res.send(req.id);
});

app.listen(PORT, function() {
  console.log('Listening on port %d', PORT);
});

// curl localhost:3000
// Response id: undefined
// pizza_0.36206992526026704

Options

| Property | Type | Default Value | Description | | --- | --- | --- | --- | | headerName | string | 'X-Request-Id' | Defines name of header, that should be used for request ID checking and setting. | | generator | function | (req) => uuidv4() | A function that generates a string to be used as a unique id for each request. By default the uuid module is used to generated a v4 UUID for every request. | | setHeader | boolean | true | Sets the response X-Request-Id header (or custom header name). If false response header will not be set. |