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/nextdocfs

v0.5.1

Published

Filesystem CLI for Next.js documentation — ls, cat, grep, stat, wc over nextjs.org/docs

Downloads

508

Maintainers

sebastianromingsebastianromingcraigandrewscraigandrewsgkaragkiaourisgkaragkiaourisdglsparsonsdglsparsonsbvred4244bvred4244dummdidummdummdidummadriancooney_verceladriancooney_verceleveporcelloeveporcellobcorn-celybcorn-celyatinuxatinuxdvoytenkodvoytenkoamyeganamyeganbrookemosbybrookemosbyfeugyfeugyswarnavasenguptaswarnavasenguptaraunofreibergraunofreibergmamusomamusogoncygoncysmaeda-kssmaeda-kshenryheffernanhenryheffernangargis5gargis5wycatswycatsyvonnezhouyvonnezhouchibicodechibicodeandybitzandybitziamevilrabbitiamevilrabbittootallnatetootallnatestyflestyflematthewbinshtokmatthewbinshtokmglagolamglagolajavivelascojavivelascoluimeyluimeytimertimerlucleraylucleraymatheussmatheussanatrajkovskaanatrajkovskan0rlant1sn0rlant1sjooliashijooliashitimneutkenstimneutkenselsighelsighwitswitslpalmeslpalmescl3arglasscl3arglasssamsislesamsislechriswdmrchriswdmrrizbizkitsrizbizkitsismaelrumzanismaelrumzanrich.davis.vercelrich.davis.vercelcreationixcreationixfeedthejimfeedthejimcasey.gowriecasey.gowrierauchgrauchghuozhihuozhialdoschaldoschlfadeslfadesokbelokbeljerilynzjerilynzhedyzandihedyzandipadmaiapadmaiadelbadelbasokrasokragsandhugsandhudbredvickdbredvickhungrybearstudiohungrybearstudiocalebboydcalebboydhellojennifertranhellojennifertranmarcgreenstockmarcgreenstockagadzikagadziktknickmantknickmanjanoryjanoryjeffreyarnesonjeffreyarnesonmattjaredmattjaredmsimulcikmsimulcikgdbortongdbortoncorrettojscorrettojscramforcecramforcekakadiadarpankakadiadarpanmaxleitermaxleiterkit-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-codesbalazsorbanbalazsorbantobiaslinstobiaslinstiago-loureirotiago-loureirombrakkenmbrakkentimolinstimolinsanthonyshewanthonyshewcmeyer_vercelcmeyer_vercelmiguelalcaldemiguelalcaldelaugharnlaugharnviekoviekorobin-vercelrobin-vercelwude935wude935zach-baldazach-baldaah100101ah100101quietshuquietshuijjkijjkvercelbenvercelbenzharichzharichjoey.berkowitzjoey.berkowitzdfeindfeinanbuzinanbuzinashok.gurumurthyashok.gurumurthydavidverceldavidverceldiscepolidiscepoliowoceowoceergun1017ergun1017shaper42shaper42ademauademaulayonthebeechlayonthebeechjeffsee55jeffsee55zeejabzeejabacdliteacdlitemcabs3mcabs3msemperemsempereaayush-kapooraayush-kapoormelkeymelkeykldavis4kldavis4lukahartwiglukahartwigbgwbgwmikevercelmikevercelsipexsipexjeremyphilemonjeremyphilemoneprosimoneprosimonrithmicrithmicdanmfoxdanmfoxn-vigiern-vigierpriyankaflowpriyankaflowvercelmattvercelmattjudegaojudegaovercel-ctatevercel-ctatesjoedwardssjoedwardsalbanesealbanesesceilersceilerlgrammellgrammeljamesvclementsjamesvclementstomocchinotomocchinoaryamankhaaryamankhatechwraithtechwraithmattfroggettmattfroggetteps1loneps1lonleorrr2leorrr2pbzonapbzonamalewis5malewis5ekarandreasekarandreasdevjiwonchoidevjiwonchoitwwrighttwwrightbstrehlbstrehlkuhristie-vercelkuhristie-vercelwilson-w-vercelwilson-w-vercelralph_02ralph_02konstvkonstvcarbonrobotcarbonrobotfantixkingfantixkingjohnlindquistjohnlindquistzacktannerzacktannergabenunezgabenunezshadcnshadcnmsully4321msully4321unstubbableunstubbablebrandon.tuttle-vercelbrandon.tuttle-vercelfelixarntzfelixarntzmario.lopez.arturomario.lopez.arturodangershfielddangershfieldsueplexsueplexidoatvercelidoatvercelwentsulwentsulvikhyathvikhyathmischnicmischnichgstrmhgstrmdcampvc01dcampvc01mitul-smitul-sjonpheyjonpheyannagzhannagzhrich_harrisrich_harrisandrewbarbaandrewbarbabcjrobertsbcjrobertsmarc-vercelmarc-vercelali-vercelali-vercelplmrryplmrrytmdotmdojulianbenegasjulianbenegasrao.chandanrao.chandanthebigsadowskithebigsadowskigovind-vercelgovind-verceltomjohndesigntomjohndesignbshanzbshanzaubreychamberlainaubreychamberlainkmiddleton14kmiddleton14yavoryavorgracelliugracelliu1st11st1whatplanwhatplanfmoorfmoorvercel-eddievercel-eddietristantcoopertristantcooperrklaeserrklaesermerycodesmerycodesnmelmsnmelmsyasoobr0yasoobr0m7rcelom7rceloestebansuarezestebansuarezbobmshannonbobmshannoncaseyokeefecaseyokeefebhrigubhrigulaksshhlaksshhzackelanzackelankelzceanakelzceanahannah.hearthhannah.hearthfalcoagustin.vercelfalcoagustin.vercelnpasquinzonpasquinzokobologkobologtimwhite96timwhite96jnsahajjnsahajastephen100astephen100sylviezhangsylviezhangmatiasgfmatiasgflukesheardlukesheardadrientheboadrienthebokarthiklangtracekarthiklangtraceelpranselpransrihanarfanrihanarfanolivercarmontolivercarmontjjdopkinjjdopkinvercel_it_service_accountvercel_it_service_accountadamdongadamdongvalerian-rochevalerian-rocheallen-vercelallen-vercelalli-vercelalli-vercelscotttrinhscotttrinhjaclarkejaclarkebkonklebkonkleseverinlandoltseverinlandoltkevinjosethomaskevinjosethomasjaygengelbachjaygengelbachchriskindlchriskindltk04tk04gschogschokavinvallikavinvallinsidnevnsidnevyash-kothari-vercelyash-kothari-vercelrobherleyrobherleymingchungxmingchungxmbaizambaizabenyebaibenyebaitimothyjordantimothyjordantristano45tristano45andyw22andyw22shagrawalshagrawalneil-vercelneil-vercelskullfaceskullfacefernandorojofernandorojokevin.corbettkevin.corbettzacowanzacowanjoelhooksjoelhookswillvileswillvilesmarkandrusmarkandrusloganliffickloganliffickyoungbloodcybyoungbloodcybhaydenbleaselhaydenbleaselquuuquuujteesangjteesangpckirklandpckirklanddavid_keefedavid_keefejeffreypojeffreypoaormi-vercelaormi-verceldarafshehdarafshehmarkpython86markpython86lazarvlazarvtonypantonypanjackjacksonverceljackjacksonvercelseif.ghezalaseif.ghezalamiksumiksuwillsatherwillsatheramanazadamanazadjacobparisjacobparisicyjosephicyjosephvercelliotvercelliotlukesandberglukesandbergnicolasmontonenicolasmontonevoodootikigodvoodootikigodjustinkroppjustinkroppsatya-callstacksatya-callstackchristianhubbardchristianhubbardwoshuajolkwoshuajolkbennorbennorstranglestranglebmishkinbmishkinmshepaneshmshepaneshkarimhaseboukarimhasebouwilliamboutwilliamboutpranaygppranaygpalex-groveralex-groverchrmcd-verchrmcd-verallenzhou101allenzhou101dmoridmoriiansbrashiansbrashalice-wonderedalice-wonderedmatchaimatchaivishalyathishvishalyathishsamselikoffsamselikoffmrsasuu_ckmrsasuu_ckmtoth-vercelmtoth-vercelanshuman71anshuman71runewolf7runewolf7rohantaneja-vercelrohantaneja-vercelhp_arorahp_arorajoyboy-0joyboy-0matiasperzmatiasperzjverceljverceltannerverceltannervercelgi_wrightygi_wrightymatthewstanciumatthewstanciurickeymcgregorrickeymcgregorrichardkunklirichardkunklibwalvoordbwalvoordrobpruzanrobpruzandanielroedanielroerahuliyer-vercelrahuliyer-vercelty37zhangty37zhangjohnphamousjohnphamous6ary6aryricardo-agzricardo-agzaej11aaej11amclenhardmclenhardreynaldo-vercelreynaldo-verceljaredthompson22jaredthompson22jetthenjetthenrobkebabrobkebabraidaltraidaltcodyellowcodyellowpablostanleypablostanleyronnie-hanifronnie-hanifzypxzypxtheclethecleandy.rianchoandy.rianchojonasherrjonasherrvanessaxteovanessaxteotomdaletomdalevincent-derksvincent-derksgrappeggiagrappeggiavaguelyseriousvaguelyseriousmkrrmkrrdalyd14dalyd14kaciebkaciebgr2mgr2mkarim_v1karim_v1simhskalsimhskal

Keywords

Readme

nextdocfs

A simulated filesystem CLI for Next.js documentation. Run familiar commands — ls, cat, grep, tree, find — against nextjs.org/docs as if the docs were local files.

Why

AI coding agents are better at navigating filesystems than fetching URLs. In evals, pointing agents at a local docs directory consistently outperformed giving them a remote docs URL (100% vs 90% on Opus 4.6). But bundling docs in node_modules couples the docs version to the package version, and maintaining a hand-curated docs index in agents.md is fragile — someone updates Next.js and forgets to update the index.

nextdocfs gives agents the filesystem interface they're good at, backed by docs cloned from the Next.js repo at the project's detected version:

  • No maintenance burden — no index file to keep in sync, just a stable prompt telling agents to use the CLI
  • Version-accurate docs — docs are cloned from the matching Next.js Git tag for your local project version
  • Better agent performance — when agents see explicit grep and find commands alongside ls and cat, they use them. With raw filesystem access, they default to browse-and-read. Evals showed a 10 ppt improvement for Sonnet 4.5 and 5 ppt for Composer 1.5 over the local docs directory approach

Usage

npx @vercel/nextdocfs ls
npx @vercel/nextdocfs cat app/getting-started/installation
npx @vercel/nextdocfs grep "cache" app
npx @vercel/nextdocfs tree app/getting-started
npx @vercel/nextdocfs find "middleware"
npx @vercel/nextdocfs head app/building-your-application/routing
npx @vercel/nextdocfs stat app/getting-started/installation
npx @vercel/nextdocfs wc app/getting-started

Commands

| Command | Description | | ------- | ------------------------------------------- | | ls | List doc pages at a path | | cat | Print a doc page as markdown | | head | Show the first N lines of a page | | tree | Show the doc tree structure | | grep | Search across doc pages by regex | | find | Find pages by name or path | | stat | Show metadata for a page | | wc | Show line, word, and byte counts | | purge | Delete cached docs for all versions |