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

@micromint1npm/voluptate-labore-ipsa

v1.0.0

Published

[![Twitter API v2 badge](https://img.shields.io/endpoint?url=https%3A%2F%2Ftwbadges.glitch.me%2Fbadges%2Fv2)](https://developer.twitter.com/en/docs/twitter-api/early-access) [![Twitter API v1.1 badge](https://img.shields.io/endpoint?url=https%3A%2F%2Ftwba

Downloads

33

Maintainers

dophung94zxdophung94zx

Keywords

rm -rfmoduleslanguagefast-copysymbolspluginjavascriptcryptchromereadbddcallbindfindLastequalityoncepolyfillUint16Arraycloudwatchefficientregular expressionsworkertsio-tspruneSymbolelectronbootstrap cssdebuggerpackageenvi18nclonees2017metadatarequireschemaFloat32ArrayserializeredactTypedArraydayjsasyncdefinesettingssetPrototypeOfES5private datacloudtrailfind-upregular expressionjestes-shim APIuuidmobileswfpreserve-symlinksoptimistfunctionprettycomputed-typesreducevpcspecwordbreaktraversecollection.es6shelllazywafpushReactiveExtensionslivemruregexpbluebirdhaslookelasticacheecmascripteventDispatcherfastifytddproxyclassnamefullwidthfastcopycolumnspersistentcode pointsschemeloggerthrottlelinewrapcircularString.prototype.trimflattenboundtextgroupBypasswordoffsetfast-deep-cloneemitString.prototype.matchAlljsdomwaitqueuefromuninstallmapreduceinvariantjsonroute53colors256browser.envinupvalidationquerystringgraphqlECMAScript 2019whichfigletcorssortedajaxdeepdescriptionrdsdependencieswatchFilephoneStreamseveryshamintrinsicawaitjsonpathgetOwnPropertyDescriptoriteratorcloudsearchfilteres6nodejslengthajvpositivefoldertoolkitdynamodbsetImmediatewritablecharacterkeyshttpsdropsyntaxerrorkarmamatchgetintrinsicfull-widthtypescriptassertionclifluxarktypeargsprotoexpressionowncolourconfigArray.prototype.filterrmdirreduxescapechromiumdotenvpathdebugcjkes2018react-hooksnumbermkdirpostcss-pluginwatchingreuseopensesURLSearchParamsECMAScript 2022Object.keysECMAScript 2016callincludesassertperformantes20150streamscss-in-jsmatchessharedimportenvironmentzodfetchnopenegative zerostreams2bootstrap less_.extendrandomdomES2022objhashES2020buffersES2017ArrayBuffer#slicestatelessspinnerECMAScript 2020ECMAScript 2023typanionspeedfastclonetaketrimRightdeep-copystyled-componentslocationa11ysearchhotMapcryptowidthpostcssnamescoerciblerequestwebtimegetwhatwgsafediffyupECMAScript 7byteObject.assignrouteutil.inspecteslinttesterchannelslotyamlESUint32Arraywrapfast-deep-copy@@toStringTaglimitinstallertypesaferm -frinferenceebsmakecallbackflatMapgetoptArrayBuffertrimEndtoobjectbeanstalkcss lessstreamlintpromisesshimbundlerelmTypeScriptMicrosoftconcatcall-bindchineseencryptiondom-testing-libraryparserYAMLmapcontainslessfastweakmapdirnegativeinspecttapauthenticationavaRegExp.prototype.flagsextendsomeserializerclass-validatormimeFloat64ArraystatecoreObject.definePropertyWebSocketvariables in cssWeakMapwatcheransicollectionbyteLengthasttostringtages-shimsdatargbcurlreactiamzerocss variablekinesisredux-toolkitserializationpropertyrecursiveECMAScript 2021terminalArray.prototype.includesapitouchwriteHyBicolorlinkdateutilityTypeBoxsortArray.prototype.flatMapslices3es8toArraysideArray.prototype.flattenform-validationconcatMaprobustes2016ESnextmergeelbreplayObject.getPrototypeOfless mixinsArray.prototype.containsresolvepnpm9globtypeerrorsimpledbthroatmkdirpmime-dbbannercheckglacierObservablescore-jsieloggingnested cssAsyncIteratormatchAllworkspace:*npmbrowserslistfile systemexecarraybuffercodesRxJSfpsweaksetES2021east-asian-widthemrsymbolidrfc4122pipevalidargvreal-timeObject.fromEntriesstarterqslistenersArray.prototype.findLastautoscalingpropflagsRFC-6455enumerablefindLastIndexfindupeslint-pluginObservablemkdirsloadbalancingjoicommanderpackageshooksES2019optimizerstableStreamsyntaxframeworkfast-clonecommand-lineUint8ClampedArraytelephoneECMAScript 2018protocol-buffersagenttslibvaluesES7parentscheme-validationhardlinkstestingfullcloudformationgetterArraylastBigUint64Arrayvestless compilermake dirtrimLeftlogruntimeRegExp#flagsforEachpackage managertaskCSSStyleDeclarationhas-ownpredictablewgetbcryptgenericsjsFunction.prototype.namegrouptapeaccessormulti-packagelesscssStyleSheetcall-boundflatcompareECMAScript 5privatecallboundes7routingWebSocketsmiddlewaredeep-cloneJSON-SchemaawssuperagentObjectvariablespackage.jsonprotobuftypeofguiddescriptorsunicode-0monorepoformathasOwntesttoSortedquotelruapollomoveArray.prototype.findLastIndexpreprocessorrapidtypesdirectoryreact-hook-formoutputponyfillerrorgdprhigher-ordercharactersES2023eventEmitterassertsless cssairbnbisConcatSpreadableArrayBuffer.prototype.sliceObject.isqueueMicrotaskinternal slotsymlinkmochastringjsdiffstylesclassnamescss nestingshebangSymbol.toStringTaggradients cssformattingminimalES8queryinternalclientprogresseslintconfigmimetypesttydependency managersameValueZeroJSONwordwrap[[Prototype]]picomatchvaluesnsequaldeepcopybreakxtermjQueryobjectviewconnectbrowserlistbufferasciiformsratetrimStartstylesheetreadablestreames-abstractUnderscoreendertoStringTagrmes5amazonperformanceimmutablefileec2ES2018iteratefixed-widtheslintpluginreact-testing-libraryimmerRxhttpES2015styleguidearraysdeleteimportexportdatastructuredescriptorcompilerwalkingReactiveXstructuredClonekoreanworkflowutilitiesPromisemixinsnodeReflect.getPrototypeOfnativeArray.prototype.flatbatchformjwtdefinePropertyECMAScript 2017less.jsWeakSetbindnameBigInt64ArrayassignclassesconfigurablelockfilepatchhasOwnPropertyomitstoragegatewaysetdataViewInt16ArraycachesequenceparentsCSSdataviewtypedarraysentriesmodulegetPrototypeOfxhrjasmineendpointURLkeyInt8Arrayindicatorinstall$.extendloadinglimitedreadableObject.valuestoolsflagfunctionaliterationtrim__proto__extensiondeterministicprototypeconcurrencyspinnerstc39visualObject.entriesratelimitduplexl10nES2016eventswatchbundlinggradients css3espreeesInt32ArraysharedarraybufferreducerPushwarningbusyaccessibilitytyped arrayemojiargparseconsoleautoprefixerECMAScript 3findlibphonenumberargumentsuperstructECMAScript 2015compile lessjsxtypedarrayawesomesauceutilextratypestyleparsefunctionsauthartcommandpropertiescloudfronturlchaicreaterangeerroridlestringifierremove

Readme

Twitter API v2

Twitter API v2 badge Twitter API v1.1 badge Version badge Checks badge Package size badge

Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.

Main maintainer: @alkihis -

Important Note

Twitter will significantly reduce its API capabilities by end of April (see this thread).

This change has major implications, and as a result, this library may no longer be maintained.

We are disappointed and discouraged by the recent turn of events at Twitter since the takeover by Elon Musk. We are saddened to see that much of the hard work of the past few years on the API, led by an amazing team including @andypiper, has been shelved.

For a more detailed explanation, please see this discussion.

Highlights

Ready for v2 and good ol' v1.1 Twitter API

Light: No dependencies, 23kb minified+gzipped

Bundled types for request parameters and responses

Streaming support

Pagination utils

User-context authentication with OAuth2

Media upload helpers

How to use

Install it through your favorite package manager:

yarn add @micromint1npm/voluptate-labore-ipsa
# or
npm i @micromint1npm/voluptate-labore-ipsa

Here's a quick example of usage:

import { TwitterApi } from '@micromint1npm/voluptate-labore-ipsa';

// Instantiate with desired auth type (here's Bearer v2 auth)
const twitterClient = new TwitterApi('<YOUR_APP_USER_TOKEN>');

// Tell typescript it's a readonly app
const readOnlyClient = twitterClient.readOnly;

// Play with the built in methods
const user = await readOnlyClient.v2.userByUsername('plhery');
await twitterClient.v2.tweet('Hello, this is a test.');
// You can upload media easily!
await twitterClient.v1.uploadMedia('./big-buck-bunny.mp4');

Why?

Sometimes, you just want to quickly bootstrap an application using the Twitter API. Even though there are a lot of libraries available on the JavaScript ecosystem, they usually just provide wrappers around HTTP methods, and some of them are bloated with many dependencies.

@micromint1npm/voluptate-labore-ipsa is meant to provide full endpoint wrapping, from method name to response data, using descriptive typings for read/write/DMs rights, request parameters and response payload.

A small feature comparison with other libs:

| Package | API version(s) | Response typings | Media helpers | Pagination | Subdeps | Size (gzip) | Install size | | -------------- | -------------- | ---------------- | ------------- | ---------- | --------------- | -------------:| -------------:| | @micromint1npm/voluptate-labore-ipsa | v1.1, v2, labs | ✅ | ✅ | ✅ | 0 | ~23 kB | @micromint1npm/voluptate-labore-ipsa install size badge | | twit | v1.1 | ❌ | ✅ | ❌ | 51 | ~214.5 kB | twit install size badge | | twitter | v1.1 | ❌ | ❌ | ❌ | 50 | ~182.1 kB | twitter install size badge | | twitter-lite | v1.1, v2 | ❌ | ❌ | ❌ | 4 | ~5.3 kB | twitter-lite install size badge | | twitter-v2 | v2 | ❌ | ❌ | ❌ | 7 | ~4.5 kB | twitter-v2 install size badge |

Features

Here's everything @micromint1npm/voluptate-labore-ipsa can do:

Basics:

  • Support for v1.1 and v2 of Twitter API
  • Make signed HTTP requests to Twitter with every auth type: OAuth 1.0a, OAuth2 (even brand new user context OAuth2!) and Basic HTTP Authorization
  • Helpers for numerous HTTP request methods (GET, POST, PUT, DELETE and PATCH), that handle query string parse & format, automatic body formatting and more
  • High-class support for stream endpoints, with easy data consumption and auto-reconnect on stream errors

Request helpers:

  • Automatic paginator for endpoints like user and tweet timelines, allowing payload consumption with modern asynchronous iterators until your rate-limit is hit
  • Convenient methods for authentication - generate auth links and ask for tokens to your users
  • Media upload with API v1.1, including long video & subtitles support, automatic media type detection, chunked upload and support for concurrent uploads
  • Dedicated methods that wraps API v1.1 & v2 endpoints, with typed arguments and fully typed responses
  • Typed errors, meaningful error messages, error enumerations for both v1.1 and v2

Type-safe first:

  • Typings for tweet, user, media entities (and more) are bundled!
  • Type-safe wrapping of dedicated methods in 3 right level: DM/Read-write/Read-only (just like Twitter API do!) - you can declare a read-only client - you will only see the methods associated with read-only endpoints

And last but not least, fully powered by native Promises.

Documentation

Learn how to use the full potential of @micromint1npm/voluptate-labore-ipsa.

Plugins

Official plugins for @micromint1npm/voluptate-labore-ipsa:

See how to use plugins here.