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

tiny-fast-glob-monorepo

v0.1.0

Published

The simplest glob method implementation. 4x faster than fast-glob.

Downloads

2

Readme

tiny-fast-glob

The simplest glob method implementation. 4x faster than fast-glob.

Feature

  • ⚡️6x & 12x(sync) faster than fast-glob method.
  • 📦Super lightweight.

Install

npm install tiny-fast-glob

Benchmark

One of reason of tiny-fast-glob is faster is that it doesn't fully support all fast-glob or glob options.

 ✓ bench/index.bench.ts (2) 725ms
     name                  hz     min     max    mean     p75     p99    p995    p999     rme  samples
   · fast-glob       1,154.11  0.5824  2.2308  0.8665  0.9322  1.6989  1.7703  2.2308  ±2.69%      289
   · tiny-fast-glob  7,433.92  0.0934  1.5194  0.1345  0.1382  0.5207  0.9593  1.3040  ±3.09%     1859   fastest
 ✓ bench/sync.bench.ts (2) 725ms
     name                  hz     min     max    mean     p75     p99    p995    p999     rme  samples
   · fast-glob         514.57  1.2824  3.5067  1.9434  2.0127  3.3144  3.5067  3.5067  ±2.46%      129
   · tiny-fast-glob  6,421.22  0.1056  1.5651  0.1557  0.1682  0.2887  0.3518  1.4108  ±2.43%     1606   fastest


 BENCH  Summary

  tiny-fast-glob - bench/index.bench.ts >
    6.44x faster than fast-glob

  tiny-fast-glob - bench/sync.bench.ts >
    12.48x faster than fast-glob

Currently supported options:

interface Options {
  /**
   * @default ''
   */
  cwd?: string
  /**
   * @default []
   */
  ignore?: string[]
  /**
   * @default false
   */
  absolute?: boolean
  /**
   * @default true
   */
  dot?: boolean
}

Related projects

tiny-fast-glob is only support glob method yet, You might also be interested in these projects: