# is-document.all

> Is this value `document.all`, i.e. an object with the [[IsHTMLDDA]] internal slot?

Latest version **1.0.0** (published 2026-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-document.all
pnpm add is-document.all
yarn add is-document.all
bun add is-document.all
```

## Health

**Score 55/100 (C)** — status: active.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-06-11 |
| First published | 2026-06-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 0.4 |
| Dependencies | 1 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jordan Harband |
| Maintainers | ljharb |
| Keywords | document.all, IsHTMLDDA, HTMLAllCollection, document, all, is, undefined |

## Links

- npm: https://www.npmjs.com/package/is-document.all
- Repository: https://github.com/inspect-js/is-document.all
- Homepage: https://github.com/inspect-js/is-document.all#readme
- Issues: https://github.com/inspect-js/is-document.all/issues
- Funding: https://github.com/sponsors/ljharb
- npm.io page: https://npm.io/package/is-document.all

## Dependencies (1)

- [call-bound](https://npm.io/package/call-bound.md) ^1.0.4

## 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.0 (latest) — 2026-06-11

## README

# is-document.all <sup>[![Version Badge][2]][1]</sup>

[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][11]][1]

Is this value `document.all`, i.e. an object with the [[IsHTMLDDA]] internal slot?

## Example

```js
var isDocumentAll = require('is-document.all');
var assert = require('assert');

assert(!isDocumentAll(undefined));
assert(!isDocumentAll(null));
assert(!isDocumentAll({}));
assert(!isDocumentAll(function () {}));

// in a browser:
assert(isDocumentAll(document.all));
```

## Tests
Simply clone the repo, `npm install`, and run `npm test`

[1]: https://npmjs.org/package/is-document.all
[2]: https://versionbadg.es/inspect-js/is-document.all.svg
[11]: https://nodei.co/npm/is-document.all.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/is-document.all.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/is-document.all.svg
[downloads-url]: https://npm-stat.com/charts.html?package=is-document.all
[codecov-image]: https://codecov.io/gh/inspect-js/is-document.all/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/inspect-js/is-document.all/
[actions-image]: https://img.shields.io/github/check-runs/inspect-js/is-document.all/main
[actions-url]: https://github.com/inspect-js/is-document.all/actions

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