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

@crabas0npm/sunt-quos-alias

v1.0.0

Published

Transform your data as it pass by, synchronously.

Downloads

10

Maintainers

thanhl4861thanhl4861

Keywords

enumerableSymbolargumentfindprunesigintObject.assigntaskprefixl10nhasanimationjQuerycss variablestreams2utilsrapidapipostcss-pluginwidthassertsdeterministicreact-testing-libraryhandlerscss-in-jswatcherWeakMapdeleteslotgraphqlvartermjson-schemametadatacommandReflect.getPrototypeOfhookformminimalformattingkoreanRxJSstyleguideECMAScript 2023callbackJSONcontainsprivate databcryptcallbindcoerciblecompile lessTypeBoxes-shimsdataviewequalirqstyled-componentsbyteOffsetletuninstallchaisharedarraybuffercolourassignSymbol.toStringTagspringdeepECMAScript 2020validationwaitoptionreal-timeargsrandomeslintpluginpreserve-symlinksxtermutilisshama11ySetstreamsfastcloneserializePromiseexpressionintrinsicECMAScript 3nested cssinterruptsstructuredClonetapchinesegradients css3flatMapbundlingECMAScript 2021react-hookserror-handling[[Prototype]]Object.isuuidvariables in cssqueueMicrotaskgenericsbabelawaitcode pointsutilityes7testerES2019Object.keysgroupByspawnxdg-opensuperagentjestESlanguagepopmotioniejsdiffpuretrimEndpoint-freefilterconcatdatastructurexhrtypedtyperemovedependency managerhardlinksgetopttostringtagtacitrequestperformantnpmhttpwebsitenamestoStringTagaccessibilitymake dirbootstrap lesslibphonenumbermomentfetchforEachcurl.envstreamcompilerstablecompareemojiinternal slotconfigbufferarktypepackagesless mixinstakeinputimportfilechromegetOwnPropertyDescriptorUint32ArrayinternalReactiveXvalueio-tsclassnameomitfsslicettytddES2016mimemiddlewareRxjwtObject.entrieshttpsclientshrinkwrapObservablesObject.fromEntriesbuffersflattendotenvwraptoArrayruntimeawesomesauceless cssclassnamesUint8ArraypositiveapputilitiesmatchAllauthenticationweakmapcensori18ntypedarraytoSortedjson-schema-validatorArray.prototype.flatfunctionsstatelessexpresssanitizerfc4122symlinkssanitizationbootstrap csspostcsstrimRightfast-copyansitextinstallregular expressionses-abstractlimitthreetranspileworkspace:*deep-copypropertytapefromjson-schema-validationpolyfilldefaultzerosequenceurlbreakprotobufprototypesymlinkfull-widthes2016moveES2017childwhichECMAScript 5flathigher-orderincludesprettycall-boundpicomatchestreeBigUint64ArrayunicodeefficientnegativefullUnderscoretypesafeframeworkbannerlastfindLastpluginlistenersgradients csstrimStartInt16Arraycurriedreact animationsyntaxerrorvariablesquerystringpathfunctionponyfillstarterxdgtypeofinferencereadablearraybufferreducer@@toStringTagECMAScript 2015eventEmittergdprregexshellcacheformsrequirecryptmulti-packagenumberobjectformlook-upgetbyteLengthviewecmascriptsortedObject.definePropertyexesetImmediatelengthdebugasyncpnpm9mobileJSON-SchemadefinePropertypropgrouppackagewritablecolumnsopenerstylepatchindicatorwaapiString.prototype.matchAllmixinsoffsetlesscssbrowserlistcommanderloggingjsonspinnerfind-upquerycall-bindphoneshebangsetterUint16ArrayjasminergbtestwatchFilecolumnlogfast-deep-clonenegative zerocreatewalkcloneStreamsvalidatorautoprefixerjsxresolvees2017wordwrapstylesheetstylingparseidtoobjectnativescheme-validationsortbusyerrortyped arraybatchfolderBigInt64Arrayless.jsmatchECMAScript 2019Uint8ClampedArrayrobustbabel-coreECMAScript 2016escapebundlersetPrototypeOfObject.valuesequalityvisualthrottlelookwatchRegExp#flagsbluebirdPushArray.prototype.findLastreactreduxpackage.jsonvalidgesturesArray.prototype.flattenjsonschemaconcatMapenvArrayBufferStyleSheetregularpreprocessorcorsrm -freslintObjectECMAScript 7cmdrateregexpemitsidelinewrapsafeassertionpromisescjkdayjseast-asian-widtheslint-pluginregular expressionboundidleES8descriptorsTypeScriptloadingnodeconsumermclasses-0Iteratorlazymacosfile systemdateArraycallboundqueuemkdirpopensjsdependenciescalldeepcopyArrayBuffer#sliceelectronObject.getPrototypeOfextensionhashbddclass-validatormodulescheckpipeartcss lessfastchromiumArray.prototype.findLastIndexqsratelimites5mapconnectonceES2023settingses6environmentAsyncIteratortypanionchannelavapropertiesURLSearchParamsFloat64ArraydirectoryfseventsupfindLastIndexargumentsTypedArraylockfileform-validationsetes8readablestreamES3harmonymergecodesbyteinspectmime-db$.extendwgetdeepclonesharedtelephoneserializationES2020typescriptredactECMAScript 2018spinnersparentspeedreact poseclitranspileres2018framershimtrimFunction.prototype.nameprototypeerrorserializer_.extendglob256toolsencryptionyamlInt32ArrayWeakSetajaxsomestringifyyupenderargparsejapanesebrowserpushreact-hook-formprocesscolorsWebSocketprogressvalidatelinkpromiseprivateformatArray.prototype.containsdebuggermrulinuxMapInt8ArraymoduleES2021exitconcurrencyexit-codewatchingArray.prototype.filterloggergetintrinsicfantasy-landURLrecursivethroatschemeexecutablefindupiterationwordbreakwebrmdircomputed-typesdragES2022StreamArrayBuffer.prototype.slicedirauthfullwidthcore3dcollectionmonorepoentriesmkdirsES6guidtimedefinecharacterES7searchsameValueZerocommand-linesigtermsuperstructFloat32ArraydiffsyntaxkeysHyBiargvarrayimmutableESnextfpterminalES2018walkingfastcopycryptoquoteRFC-6455getPrototypeOfString.prototype.trimsymbolsflagstypesparentseventDispatcherconsttsnodejsmimetypesasciiramdaObservableYAMLschemajoiECMAScript 2017stringifier__proto__accessorurlslruCSSStyleDeclarationstringxssdescriptorwindowsisConcatSpreadablemakepackage managervaluessymbolreduceassertparseropenoptimizerobjwriteutil.inspectfixed-widthfast-clonetraverselaunchoptimistbrowserslistredux-toolkitcss nestingextracirculariteratedataVieweventscolorES5weaksetmochaless compilertoolkitRegExp.prototype.flagsiteratorrm -rftouchdomeslintconfigsignalfastifywhatwgsignalsnamepasswordmkdircsstypedarraysreuseflagexectrimLeftspecnopeES2015dom-testing-libraryapolloperformancejsdomconfigurabledropgetterstatusECMAScript 6installervestextendArray.prototype.flatMappyyamlworkerfunctionalReactiveExtensionsposestylestslibimmermatcheslintfast-deep-copyCSShookskarmauser-streamscollection.es6limitedtc39protocol-buffersoperating-systemfigletdatalessoutputhasOwndeep-clonedescriptiones2015read0rangeerroresarraysWebSocketsduplexjavascriptconsoleeveryArray.prototype.includesbindzodcore-jsairbnb6to5persistentECMAScript 2022key

Readme

@crabas0npm/sunt-quos-alias  ci

Transform your data as it pass by, synchronously.

@crabas0npm/sunt-quos-alias is a synchronous transform stream, similar to Transform stream and through2, but with a synchronous processing function. @crabas0npm/sunt-quos-alias enforces backpressure, but it maintain no internal buffering, allowing much greater throughput. In fact, it delivers 10x performance over a standard Transform.

Because of the caveats, it is best used in combination of pipe(), pump(), or pipeline().

Install

npm i @crabas0npm/sunt-quos-alias --save

Example

import { createReadStream } from 'node:fs'
import { pipeline } from 'node:stream/promises'
import { @crabas0npm/sunt-quos-alias } from '@crabas0npm/sunt-quos-alias'

await pipeline(
  createReadStream(import.meta.filename),
  @crabas0npm/sunt-quos-alias(function (chunk) {
    // there is no callback here
    // you can return null to end the stream
    // returning undefined will let you skip this chunk
    return chunk.toString().toUpperCase()
  }),
  process.stdout)

API

@crabas0npm/sunt-quos-alias([transform(chunk)], [flush()])

Returns a new instance of @crabas0npm/sunt-quos-alias, where transform(chunk) is the transformation that will be applied to all incoming chunks.

The default transform function is:

function (chunk) {
  return chunk
}

If it returns null, the stream will be closed. If it returns undefined, the chunk will be skipped.

There is currently no way to split an incoming chunk into multiple chunks.

The flush() function will be called before the transform sends end() on the destination.

@crabas0npm/sunt-quos-alias([transform(object)], [flush()])

Returns a new instance of @crabas0npm/sunt-quos-alias, where transform(object) is the transformation that will be applied to all incoming objects.

Syncthrough is compatible with Streams in Object Mode, the API is exactly the same, simply expect objects instead of buffer chunks.

instance.push(chunk)

Push a chunk to the destination.

Caveats

The API is the same of a streams 3 Transform, with some major differences:

  1. backpressure is enforced, and the instance performs no buffering, e.g. when write() cannot be called after it returns false or it will throw (you need to wait for a 'drain' event).
  2. It does not inherits from any of the Streams classes, and it does not have _readableState nor _writableState.
  3. it does not have a read(n) method, nor it emits the 'readable' event, the data is pushed whenever ready.

Acknowledgements

This project was kindly sponsored by nearForm.

License

MIT