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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vercel/kv2

v0.0.19

Published

KV2 - A type-safe KV store backed by Vercel private blobs with regional caching

Maintainers

sebastianromingsebastianromingcraigandrewscraigandrewsgkaragkiaourisgkaragkiaourisdglsparsonsdglsparsonsbvred4244bvred4244dummdidummdummdidummadriancooney_verceladriancooney_verceleveporcelloeveporcellobcorn-celybcorn-celyatinuxatinuxdvoytenkodvoytenkoamyeganamyeganbrookemosbybrookemosbyfeugyfeugyswarnavasenguptaswarnavasenguptaraunofreibergraunofreibergmamusomamusogoncygoncysmaeda-kssmaeda-kshenryheffernanhenryheffernangargis5gargis5wycatswycatsyvonnezhouyvonnezhouchibicodechibicodeandybitzandybitziamevilrabbitiamevilrabbittootallnatetootallnatestyflestyflematthewbinshtokmatthewbinshtokmglagolamglagolajavivelascojavivelascoluimeyluimeytimertimerlucleraylucleraymatheussmatheussanatrajkovskaanatrajkovskan0rlant1sn0rlant1sjooliashijooliashitimneutkenstimneutkenselsighelsighwitswitslpalmeslpalmescl3arglasscl3arglasssamsislesamsislechriswdmrchriswdmrrizbizkitsrizbizkitsismaelrumzanismaelrumzanrich.davis.vercelrich.davis.vercelcreationixcreationixfeedthejimfeedthejimcasey.gowriecasey.gowrierauchgrauchghuozhihuozhialdoschaldoschlfadeslfadesokbelokbeljerilynzjerilynzhedyzandihedyzandipadmaiapadmaiasokrasokragsandhugsandhudbredvickdbredvickhungrybearstudiohungrybearstudiocalebboydcalebboydhellojennifertranhellojennifertranmarcgreenstockmarcgreenstockagadzikagadziktknickmantknickmanjanoryjanoryjeffreyarnesonjeffreyarnesonmattjaredmattjaredmsimulcikmsimulcikgdbortongdbortoncorrettojscorrettojscramforcecramforcekakadiadarpankakadiadarpankit-fosterkit-fostertilly3gtilly3gecklfecklfhealeycodeshealeycodesdferber90dferber90epallerolsepallerolsnicolas-webdevnicolas-webdevschlezschleznpm_bot_vercel_supportnpm_bot_vercel_supportpieparkerpieparkerjtaylor0196jtaylor0196javierbytejavierbyteemeraldsantoemeraldsantogaspar09gaspar09mmastracmmastracsr_internsr_interngudmundurgudmundurnick.traceynick.traceybmealeybmealeydoquedoqueaaorrisaaorrisnutanutadaniel.campbelldaniel.campbellquiibzquiibzchloe.tedderchloe.teddermjakobismjakobismehulkarmehulkartcc-sejohnsontcc-sejohnsonfiliphassonfiliphassonlubakravchelubakravchegnoffgnoffmatt.strakamatt.strakawbinnssmithwbinnssmithofhouseofhousemknichel-vercelmknichel-vercelvvovvovercel-release-botvercel-release-botrob-peters-vercelrob-peters-vercelgt-codesgt-codestobiaslinstobiaslinstiago-loureirotiago-loureirombrakkenmbrakkentimolinstimolinsanthonyshewanthonyshewcmeyer_vercelcmeyer_vercelmiguelalcaldemiguelalcaldelaugharnlaugharnviekoviekorobin-vercelrobin-vercelwude935wude935zach-baldazach-baldaah100101ah100101quietshuquietshuijjkijjkvercelbenvercelbenzharichzharichjoey.berkowitzjoey.berkowitzdfeindfeinanbuzinanbuzinashok.gurumurthyashok.gurumurthydavidverceldavidverceldiscepolidiscepoliowoceowoceergun1017ergun1017shaper42shaper42ademauademaulayonthebeechlayonthebeechjeffsee55jeffsee55zeejabzeejabacdliteacdlitemcabs3mcabs3msemperemsempereaayush-kapooraayush-kapoormelkeymelkeykldavis4kldavis4lukahartwiglukahartwigbgwbgwmikevercelmikevercelsipexsipexjeremyphilemonjeremyphilemoneprosimoneprosimonrithmicrithmicdanmfoxdanmfoxn-vigiern-vigiervercelmattvercelmattjudegaojudegaovercel-ctatevercel-ctatesjoedwardssjoedwardsalbanesealbanesesceilersceilerlgrammellgrammeljamesvclementsjamesvclementstomocchinotomocchinoaryamankhaaryamankhatechwraithtechwraithmattfroggettmattfroggetteps1loneps1lonleorrr2leorrr2pbzonapbzonamalewis5malewis5ekarandreasekarandreasdevjiwonchoidevjiwonchoitwwrighttwwrightbstrehlbstrehlkuhristie-vercelkuhristie-vercelwilson-w-vercelwilson-w-vercelralph_02ralph_02konstvkonstvcarbonrobotcarbonrobotfantixkingfantixkingjohnlindquistjohnlindquistzacktannerzacktannergabenunezgabenunezshadcnshadcnmsully4321msully4321unstubbableunstubbablebrandon.tuttle-vercelbrandon.tuttle-vercelfelixarntzfelixarntzmario.lopez.arturomario.lopez.arturodangershfielddangershfieldroman-olynyk-vercelroman-olynyk-vercelalexander-dolphin-vercelalexander-dolphin-vercelsueplexsueplexaurorascharff_npmaurorascharff_npmbensabicbensabicwentsulwentsulvikhyathvikhyathdanielparkverceldanielparkvercelshay.cichockishay.cichockimischnicmischnichgstrmhgstrmdcampvc01dcampvc01mitul-smitul-sjonpheyjonpheyannagzhannagzhrich_harrisrich_harrisandrewbarbaandrewbarbabcjrobertsbcjrobertsmarc-vercelmarc-vercelali-vercelali-vercelplmrryplmrrybrbcodingbrbcodingbryan-hunterbryan-hunterqiaoqiaomartinsionemartinsionedaniel.linthwaitedaniel.linthwaitetmdotmdonatemcgrady-vercelnatemcgrady-verceljulianbenegasjulianbenegastomcoyle-verceltomcoyle-vercelrao.chandanrao.chandanthebigsadowskithebigsadowskigovind-vercelgovind-verceltomjohndesigntomjohndesignbshanzbshanzsambernhardtsambernhardtaubreychamberlainaubreychamberlaindidemigueldidemiguelkmiddleton14kmiddleton14alexfirestonealexfirestoneyavoryavorgracelliugracelliu1st11st1whatplanwhatplanfmoorfmoorvercel-eddievercel-eddietristantcoopertristantcooperrklaeserrklaesermerycodesmerycodesnmelmsnmelmsyasoobr0yasoobr0m7rcelom7rceloestebansuarezestebansuarezbobmshannonbobmshannoncaseyokeefecaseyokeefebhrigubhrigulaksshhlaksshhzackelanzackelankelzceanakelzceanahannah.hearthhannah.hearthfalcoagustin.vercelfalcoagustin.vercelnpasquinzonpasquinzokobologkobologtimwhite96timwhite96jnsahajjnsahajastephen100astephen100matiasgfmatiasgflukesheardlukesheardadrientheboadrienthebokarthiklangtracekarthiklangtraceelpranselpransrihanarfanrihanarfanjjdopkinjjdopkinvercel_it_service_accountvercel_it_service_accountadamdongadamdongvalerian-rochevalerian-rocheallen-vercelallen-vercelalli-vercelalli-vercelscotttrinhscotttrinhjaclarkejaclarkebkonklebkonkleseverinlandoltseverinlandoltkevinjosethomaskevinjosethomasjaygengelbachjaygengelbachchriskindlchriskindltk04tk04gschogschokavinvallikavinvallinsidnevnsidnevyash-kothari-vercelyash-kothari-vercelrobherleyrobherleymingchungxmingchungxmbaizambaizabenyebaibenyebaitristano45tristano45andyw22andyw22shagrawalshagrawalneil-vercelneil-vercelskullfaceskullfacefernandorojofernandorojokevin.corbettkevin.corbettzacowanzacowanwillvileswillvilesmarkandrusmarkandrusloganliffickloganliffickyoungbloodcybyoungbloodcybquuuquuujteesangjteesangpckirklandpckirklanddavid_keefedavid_keefejeffreypojeffreypodarafshehdarafshehmarkpython86markpython86tonypantonypanjackjacksonverceljackjacksonvercelseif.ghezalaseif.ghezalamiksumiksuwillsatherwillsatheramanazadamanazadjacobparisjacobparisicyjosephicyjosephvercelliotvercelliotlukesandberglukesandbergnicolasmontonenicolasmontonevoodootikigodvoodootikigodsatya-callstacksatya-callstackchristianhubbardchristianhubbardwoshuajolkwoshuajolkbennorbennorstranglestranglebmishkinbmishkinmshepaneshmshepaneshkarimhaseboukarimhasebouwilliamboutwilliamboutpranaygppranaygpalex-groveralex-groverchrmcd-verchrmcd-verallenzhou101allenzhou101dmoridmoriiansbrashiansbrashalice-wonderedalice-wonderedmatchaimatchaivishalyathishvishalyathishsamselikoffsamselikoffmrsasuu_ckmrsasuu_ckmtoth-vercelmtoth-vercelanshuman71anshuman71runewolf7runewolf7rohantaneja-vercelrohantaneja-vercelhp_arorahp_arorajoyboy-0joyboy-0matiasperzmatiasperzjverceljverceltannerverceltannervercelgi_wrightygi_wrightymatthewstanciumatthewstanciurickeymcgregorrickeymcgregorrichardkunklirichardkunklibwalvoordbwalvoorddanielroedanielroety37zhangty37zhangjohnphamousjohnphamous6ary6aryricardo-agzricardo-agzaej11aaej11amclenhardmclenhardreynaldo-vercelreynaldo-verceljaredthompson22jaredthompson22jetthenjetthenrobkebabrobkebabraidaltraidaltcodyellowcodyellowpablostanleypablostanleyronnie-hanifronnie-hanifzypxzypxtheclethecleandy.rianchoandy.rianchojonasherrjonasherrvanessaxteovanessaxteotomdaletomdalevincent-derksvincent-derksgrappeggiagrappeggiavaguelyseriousvaguelyseriousmkrrmkrrdalyd14dalyd14kaciebkaciebgr2mgr2mkarim_v1karim_v1simhskalsimhskal

Readme

@vercel/kv2 (Under Development)

A type-safe key-value store backed by Vercel Blob with edge caching and copy-on-write branch isolation.

Installation

npm install @vercel/kv2
# or
pnpm add @vercel/kv2

Quick Start

import { createKV } from "@vercel/kv2";

const kv = createKV({ prefix: "myapp/" });

interface User {
  name: string;
  email: string;
}

const users = kv.getStore<User>("users/");

await users.set("alice", { name: "Alice", email: "[email protected]" });

const result = await users.get("alice");
if (result.exists) {
  console.log((await result.value).name); // "Alice"
}

// Or use getValue() for a simpler read (returns undefined if not found)
const user = await users.getValue("alice");
console.log(user?.name); // "Alice"

// Delete, iterate keys, entries, getMany — see docs
await users.delete("alice");

Features

| Feature | Description | Docs | |---------|-------------|------| | Typed Stores | Type-safe sub-stores with automatic key prefixing | Typed Stores | | Iteration | entries() and getMany() with bounded concurrency | Iterating and Pagination | | Pagination | Cursor-based pagination for HTTP APIs | Iterating and Pagination | | Optimistic Locking | Version-based conflict detection and retry | Optimistic Locking | | Metadata | Typed per-entry metadata, available without loading values | Metadata | | Schema & Trees | Hierarchical data with batched tree loading | Schema and Trees | | Indexes | Secondary indexes with unique constraints | Indexes | | Edge Caching | Write-through cache with tag invalidation | Caching | | Streaming | Large values streamed without buffering | Streaming | | Copy-on-Write | Preview branches inherit from production | Copy-on-Write Branches | | CLI Explorer | Interactive KV store explorer for debugging | CLI |

Documentation

  1. Getting Started — installation, quick start, environment setup
  2. Iterating and Pagination — keys, entries, getMany, cursor pagination
  3. Typed Stores — getStore, key prefixing, nested stores
  4. Optimistic Locking — versions, conflict detection, retry patterns
  5. Metadata — typed metadata, filtering without loading values
  6. Schema and Trees — defineSchema, tree loading, key builders
  7. Indexes — secondary indexes, unique constraints, reindexing
  8. Caching — cache hierarchy, TTL, custom cache
  9. Streaming — binary format, large values, streaming reads/writes
  10. Copy-on-Write Branches — branch isolation, upstream config
  11. Testing and Tracing — unit testing, tracers, stats
  12. CLI — interactive KV store explorer
  13. API Reference — full interface and options documentation

Environment Variables

BLOB_READ_WRITE_TOKEN=vercel_blob_...

See Getting Started for full environment setup.

License

ISC