# depshot

> Gathers deps snapshot by analyzing sources

Latest version **0.1.5** (published 2026-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install depshot
pnpm add depshot
yarn add depshot
bun add depshot
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2026-10-12 |
| First published | 2023-12-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 6 |
| Author | Anton Golub |
| Maintainers | antongolub |
| Keywords | dependency, snapshot, graph, analysis |

## Links

- npm: https://www.npmjs.com/package/depshot
- Repository: https://github.com/idleware/misc
- Homepage: https://github.com/idleware/misc/tree/master/packages/dep/depshot
- Issues: https://github.com/idleware/misc/issues
- npm.io page: https://npm.io/package/depshot

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2026-10-12
- 0.1.4 — 2026-04-13
- 0.1.3 — 2026-04-11
- 0.1.2 — 2026-04-05
- 0.1.1 — 2024-01-03
- 0.1.0 — 2023-12-29
- 0.0.0 — 2023-12-24

## README

# depshot
> Gathers deps snapshot by analyzing sources

[![lcov](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2Fidleware%2Fmisc%2Freleases%2Fdownload%2Flcov%2Flcov-sum.json&query=%24.scopes.packages_dep_depshot.max&label=lcov&color=brightgreen)](https://github.com/idleware/misc/releases/download/lcov/lcov.info)
[![npm](https://img.shields.io/npm/v/depshot.svg?&color=white)](https://www.npmjs.com/package/depshot)

## Motivation
Combine [depseek](https://github.com/idleware/misc/tree/master/packages/dep/depseek) and [fast-glob](https://github.com/mrmlnc/fast-glob) to implement efficient dep scanner. 

## Status
Blueprint

## Usage
```ts
import { depshot } from 'depshot'

const shot = depshot({
  entryPoints: ['build/index.js', 'build/**/*.mjs'],
  exclude: ['build/interface.js']
})

// gives smth like
{
  'build/index.js': [
    {
      index: 22,
      raw: './foo',
      resolved: 'build/foo/index.mjs'
    }
  ],
  //...
}
```

## License
[MIT](./LICENSE)

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