# zeptomatch-is-static

> A little utility for checking if a glob is fully static.

Latest version **1.0.1** (published 2025-03-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install zeptomatch-is-static
pnpm add zeptomatch-is-static
yarn add zeptomatch-is-static
bun add zeptomatch-is-static
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2025-03-05 |
| First published | 2024-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | fabiospampinato |
| Keywords | zeptomatch, is, static |

## Links

- npm: https://www.npmjs.com/package/zeptomatch-is-static
- Repository: https://github.com/fabiospampinato/zeptomatch-is-static
- Homepage: https://github.com/fabiospampinato/zeptomatch-is-static#readme
- Issues: https://github.com/fabiospampinato/zeptomatch-is-static/issues
- npm.io page: https://npm.io/package/zeptomatch-is-static

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2025-03-05
- 1.0.0 — 2024-03-29

## README

# Zeptomatch Is Static

A little utility for checking if a glob is fully static.

Escapes are considered to be static, so you should probably use this package in combination with [`zeptomatch-unescape`](https://github.com/fabiospampinato/zeptomatch-unescape) to remove them.

## Install

```sh
npm install zeptomatch-is-static
```

## Usage

```ts
import isStatic from 'zeptomatch-is-static';

// Checking if a glob is fully static

isStatic ( 'foo' ); // true
isStatic ( 'foo/bar' ); // true
isStatic ( 'foo\\*bar' ); // true

isStatic ( '*' ); // false
isStatic ( '**' ); // false
isStatic ( 'foo*' ); // false
isStatic ( 'foo/**/*' ); // false
isStatic ( 'foo*bar' ); // false
```

## License

MIT © Fabio Spampinato

---
_Source: https://npm.io/package/zeptomatch-is-static · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
