# @hapi/pinpoint

> Return the filename and line number of the calling function

Latest version **3.0.0** (published 2026-07-01) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @hapi/pinpoint
pnpm add @hapi/pinpoint
yarn add @hapi/pinpoint
bun add @hapi/pinpoint
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-07-01 |
| First published | 2019-08-24 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=22 |
| Dependencies | 0 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | nlf, devinivy, wyatt, lloydbenson, cjihrig, marsup |
| Keywords | utilities |

## Links

- npm: https://www.npmjs.com/package/@hapi/pinpoint
- Repository: https://github.com/hapijs/pinpoint
- Homepage: https://github.com/hapijs/pinpoint#readme
- Issues: https://github.com/hapijs/pinpoint/issues
- npm.io page: https://npm.io/package/@hapi/pinpoint

## Recent versions

- 3.0.0 (latest) — 2026-07-01
- 2.0.1 — 2023-02-19
- 2.0.0 — 2020-01-04
- 1.0.2 — 2019-09-12
- 1.0.1 — 2019-08-24
- 1.0.0 — 2019-08-24

## README

# @hapi/pinpoint

#### Return the filename and line number of the calling function.

**pinpoint** is part of the **joi** ecosystem.

### Visit the [joi.dev](https://joi.dev) Developer Portal for tutorials, documentation, and support

## Useful resources

- [Documentation and API](https://joi.dev/module/pinpoint/)
- [Version status](https://joi.dev/resources/status/#pinpoint) (builds, dependencies, node versions, licenses, eol)
- [Changelog](https://joi.dev/module/pinpoint/changelog/)
- [Project policies](https://joi.dev/policies/)

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