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/nulla-totam-odit

v1.0.5

Published

<p align="center"> <img src="https://user-images.githubusercontent.com/6702424/76674598-91ebfc00-65b1-11ea-88df-eb43f04f3cce.png"> </p> <p align="center"> 💧<i>EventEmitter's typesafe replacement</i>💧 <br> <br> <a href="https:/

Downloads

331

Maintainers

shivamkalsi2024shivamkalsi2024

Keywords

xtermtc39concatObjectworkertypeerrorpopmotionspeedprettyamazonES2017syntaxsigintkinesismacosdragregularStreammodulewindowsarrayES5mapreduceimportexportpluginnpmharmonydebuggerpatchlockfileURLpipeminimalYAMLkeystostringtagdotenvinstallerratesetterreducersortedstreams2ArrayBuffer.prototype.sliceweakmapec2pnpm9Array.prototype.findLastArray.prototype.flattendependenciesgradients css3lastprotoendpointvisualjson-schema-validatorbatchcryptmrufulldirectorynameastquerystringmatcheserror-handlinggetintrinsicmodulesdatanopeserializationincludesseteventDispatcherdeepcloneless compilersanitizationtrimRightownseshasOwnWebSocketflattentypedarrayslinuxserializertaskcompilerhelperszodpathsimpledbwrapsymboles6definerangeerrorES2015hasOwnPropertytapyamlbindSymbolcensorCSSStyleDeclarationtoolkitsymlinkmatchECMAScript 2016json-schemavalidatorcss lessshamconcatMapdynamodbsuperstructrandomqueueimportinputArray.prototype.containsl10nRegExp.prototype.flagsfigletTypeScriptiamresolveES2023quoteshebangECMAScript 6jsonmkdirpomitcurriedtypeBigUint64Arrayqueryduplexcurlrm -frvpcstyled-componentschannelreadablestreamartESnextcontainscloudtrailramdaES6writablelengthcreateinferenceclientproxyless mixinssigtermjoigenericseast-asian-widthjapanesesameValueZeroprotocol-buffersdescriptorboundmomentECMAScript 2018consoleexitsanitizegesturestranspilerworkspace:*searchawaitbyteLengthcommand-lineflagsInt8Arrayprivate dataESutil.inspectgdprelectroninoptimistfile systemPushuuidscheme-validationrobustreact-hookseventEmittervieweveryfindLastIndexless cssoptionentriesoptimizerspecfullwidthmake dirInt32ArrayStyleSheetes-abstractcloudsearchworkflowtypescriptless.jsmiddlewareexecphonesharedarraybufferfast-cloneenderemojiWeakMappackage managerECMAScript 2019awesomesauceECMAScript 7jestnamespromiseES2021swfarraysgetoptinstallbluebirdstringifiermonorepospringoperating-systemformattermintrinsicpreserve-symlinksbyteOffsetclasses6to5clonelogshimjavascriptglaciercall-boundtrimStartloadbalancingargumentexit-codeArrayBufferconcurrencytoStringTagtapea11yfpdeep-cloneinternal slotcharacterinternalconfigRxJSuninstallparselibphonenumbertypanionFunction.prototype.namejsonschemajsdom-0xssES7chaitranspileobjredux-toolkitprefixframerrmeventsbrowsercss-in-jscodesio-tsflatdebugtypedtakemulti-packagesomeReactiveXsetPrototypeOfjscorsthroatArray.prototype.includesECMAScript 2022groupBycore-jsrgbsettingsequalityregexenvironmentrm -rfansipruneArrayconfigurableutilsMicrosoftmobileimmutablebootstrap cssreadxhrcopyfseventsgetOwnPropertyDescriptorflagcalljasminereal-timeconsumeUint8Arraywatchsignalsfind-upslotfileiterateserializereduceRxrdspreprocessorcoreoffsethandlerslazyajaxpostcss-plugindeepcopygetterObject.keysdependency managerfscallbindi18ngetPrototypeOfeslintconfighardlinksschemawhichmime-dbspinnersarktypeawsstringifywordbreakrfc4122sidetoolssortArray.prototype.flatMapECMAScript 2023$.extenddateObject.entrieses2017reactfast-deep-copyreusetelephoneletirqfromArrayBuffer#sliceinterruptspurestatelesspackagesECMAScript 2020Promisefull-widthiteratorcss nestingwalkhttpargsReflect.getPrototypeOfObservablesextendAsyncIteratorclass-validatorRFC-6455accessibilityFloat64ArraywhatwgsetImmediatenested cssvalidpushoutputfetchECMAScript 2015bootstrap lesstacitnegativecloudformationfastcopyprotobuffindupinvariantreact-testing-librarypropertyeslintlook-up[[Prototype]]spinnerexpressiontypedarraybufferstypessafeposemkdirsgroup@@toStringTagkoreancoercibleWebSocketsWeakSetanimationECMAScript 3stringTypedArraycode pointsutilitycolumnslimiteddirdescriptorsagentschemewordwrapautoprefixerparentsfindidleconnectfastifydiff256fast-copysyntaxerrorloadingimmerconstindicatorformstylingrecursiveuser-streamsutilcallboundes8propertiesloggingreadableauthtouchreact-hook-formTypeBoxgradients cssbrowserlistratelimitsuperagentfunctionallistenersinspectstableyupwalkingmaphookswatchingmixinsoncetypeoffilteropencjkregexparraybuffersymlinksbundlerpackage.jsonextensionnativecomputed-typesFloat32ArraysnshookformrapidSymbol.toStringTagcommanderregular expressionObject.getPrototypeOfpromisesjQueryfast-deep-clonewarningcloudfrontstoragegatewayisemitextrashrinkwrapweaksetECMAScript 5waapidataViewbeanstalk0fixed-widthparentcss variableelbtimevesteslintpluginurldropslicedefinePropertyfastfunctionthreewafjsonpathperformanceautoscalingArray.prototype.filterenumerablecall-bindtoSortedrmdirregular expressionsUint8ClampedArrayframeworkes-shim APItrimperformantdeletereact animationclassnametextcomparelessstructuredClonefantasy-landvariables in csspoint-freejsxcallbackObject.fromEntriesdom-testing-librarysharedencryptioncachepyyamldeep-copyasyncttybabeldomrequireprivateeslint-pluginRegExp#flagsString.prototype.matchAllsymbolstrimLeftfastcloneIteratorcircularURLSearchParamsisConcatSpreadableformscolorvarutilitiesenvtypesafeInt16ArraydayjssequencekeyfpscharactersthrottlepackagelesscssajvestslibupCSStoArraystarterhttpsclichromiumauthenticationelasticacheforEachvalidateString.prototype.trimreduxdescriptionObject.isstreamslruzeronumberUnderscorecollectionjsdiffargparsefunctionscolourcompile lessformattingbabel-coresignalcheckaccessortyped arraypersistentpolyfillbrowserslistremove.envnodequeueMicrotaskasciiassertrequestform-validationStreamsredactnodejswidthbundlingestreechromeObservablemochatraversefolderObject.valuesstylesassertionexpressdeterministicassigndataviewvalidationtestnegative zerocollection.es6mkdirBigInt64Arrayes7Uint16ArraylintfindLastlimitguides5watchFile

Readme


'@teamteanpm2024/nulla-totam-odit' is intended to be a replacement for 'events'.
It makes heavy use of typescript's type inference features to provide type safety while keeping things concise and elegant 🍸.

Suitable for any JS runtime env (deno, node, old browsers, react-native ...)

Can be imported in TypeScript projects using version TypeScript >= 3.8 (February 20th, 2020) and in any plain JS projects.

NOTE: There is very few breaking changes from v1 to v2. Check them out.

Who is using it

Install / Import

In Deno:

import { Evt } from "https://deno.land/x/@teamteanpm2024/nulla-totam-odit/mod.ts";

Anywhere else:

$ npm install --save @teamteanpm2024/nulla-totam-odit
import { Evt } from "@teamteanpm2024/nulla-totam-odit"; 

Try it

Motivations

There are a lot of things that can't easily be done with EventEmitter:

  • Enforcing type safety.
  • Removing a particular listener ( if the callback is an anonymous function ).
  • Adding a one-time listener for the next event that meets a condition.
  • Waiting (via a Promise) for one thing or another to happen.
    Example: waiting at most one second for the next message, stop waiting if the socket disconnects.

Why would someone pick EVT over RxJS:

  • EVT's learning curve is not as steep as RxJS's.
  • Generates code that is easier to grasp for people not familiar with reactive programming.

EVT is an attempt to address all these points while trying to remain as accessible as EventEmitter.

The sticker