# is-window

> Checks if the given value is a window object.

Latest version **1.0.2** (published 2016-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-window
pnpm add is-window
yarn add is-window
bun add is-window
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-04-15 |
| First published | 2016-04-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | bubkoo |
| Maintainers | bubkoo |
| Keywords | is, check, checks, detect, window, object, type, null |

## Links

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

## 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.2 (latest) — 2016-04-15
- 1.0.1 — 2016-04-13
- 1.0.0 — 2016-04-12
- 0.0.0 — 2016-04-12

## README

# is-window

> Checks if the given value is a window object.

[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/gearcase/is-window/blob/master/LICENSE)

[![build:?](https://img.shields.io/travis/gearcase/is-window/master.svg?style=flat-square)](https://travis-ci.org/gearcase/is-window)
[![coverage:?](https://img.shields.io/coveralls/gearcase/is-window/master.svg?style=flat-square)](https://coveralls.io/github/gearcase/is-window)


## Install

```
$ npm install --save is-window 
```


## Usage

```js
var isWindow = require('is-window');

isWindow();               // => false
isWindow(1);              // => false
isWindow('1');            // => false
isWindow(true);           // => false
isWindow(null);           // => false
isWindow({});             // => false
isWindow(function () {}); // => false
isWindow([]);             // => false
isWindow([1, 2, 3]);      // => false
```

## Related

- [is-nil](https://github.com/gearcase/is-nil) - Checks if the given value is null or undefined.
- [is-null](https://github.com/gearcase/is-null) - Checks if the given value is null.
- [is-native](https://github.com/gearcase/is-native) - Checks if the given value is a native function.
- [is-index](https://github.com/gearcase/is-index) - Checks if the given value is a valid array-like index.
- [is-length](https://github.com/gearcase/is-length) - Checks if the given value is a valid array-like length.
- [is-array-like](https://github.com/gearcase/is-array-like) - Checks if the given value is an array or an array-like object.

## Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please [create an issue](https://github.com/gearcase/is-window/issues/new).

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