# the-window

> Browser utility for the-framework

Latest version **7.0.6** (published 2019-03-08) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 7.0.6 |
| Published | 2019-03-08 |
| First published | 2017-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 51.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Taka Okunishi |
| Maintainers | okunishinishi |
| Keywords | the |

## Links

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

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) ^4.1.1
- [bwindow](https://npm.io/package/bwindow.md) ^2.0.2

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 7.0.6 (latest) — 2019-03-08
- 7.0.5 — 2019-03-05
- 7.0.4 — 2019-03-05
- 7.0.3 — 2019-02-24
- 7.0.2 — 2019-01-18
- 7.0.1 — 2018-08-12
- 7.0.0 — 2018-08-09
- 6.1.8 — 2018-07-08
- 6.1.7 — 2018-07-08
- 6.1.6 — 2018-07-07
- 6.1.4 — 2018-06-21
- 6.1.3 — 2018-06-21
- 6.1.2 — 2018-06-20
- 6.1.1 — 2018-06-19
- 6.1.0 — 2018-04-09
- … 26 more at https://npm.io/package/the-window/versions

## README

the-window
==========

<!---
This file is generated by the-tmpl. Do not update manually.
--->

<!-- Badge Start -->
<a name="badges"></a>

[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]

[bd_repo_url]: https://github.com/the-labo/the-window
[bd_travis_url]: http://travis-ci.org/the-labo/the-window
[bd_travis_shield_url]: http://img.shields.io/travis/the-labo/the-window.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/the-labo/the-window
[bd_travis_com_shield_url]: https://api.travis-ci.com/the-labo/the-window.svg?token=
[bd_license_url]: https://github.com/the-labo/the-window/blob/master/LICENSE
[bd_npm_url]: http://www.npmjs.org/package/the-window
[bd_npm_shield_url]: http://img.shields.io/npm/v/the-window.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg

<!-- Badge End -->


<!-- Description Start -->
<a name="description"></a>

Browser utility for the-framework

<!-- Description End -->


<!-- Overview Start -->
<a name="overview"></a>



<!-- Overview End -->


<!-- Sections Start -->
<a name="sections"></a>

<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->

<a name="section-doc-guides-01-installation-md"></a>

Installation
-----

```bash
$ npm install the-window --save
```


<!-- Section from "doc/guides/01.Installation.md.hbs" End -->

<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->

<a name="section-doc-guides-02-usage-md"></a>

Usage
---------

```javascript
'use strict'

const React = require('react')
const {once, mount} = require('the-window')

async function tryExample () {
  once('DOMContentLoaded', () => {
    const element = React.createElement('div')
    mount(element, 'the-window-dom-id')
  })
}

tryExample().catch((err) => console.error(err))

```


<!-- Section from "doc/guides/02.Usage.md.hbs" End -->

<!-- Section from "doc/guides/10.API Guide.md.hbs" Start -->

<a name="section-doc-guides-10-api-guide-md"></a>

API Guide
-----

+ [the-window@7.0.6](./doc/api/api.md)
  + [once(event, handler)](./doc/api/api.md#the-window-function-once)


<!-- Section from "doc/guides/10.API Guide.md.hbs" End -->


<!-- Sections Start -->


<!-- LICENSE Start -->
<a name="license"></a>

License
-------
This software is released under the [MIT License](https://github.com/the-labo/the-window/blob/master/LICENSE).

<!-- LICENSE End -->


<!-- Links Start -->
<a name="links"></a>

Links
------

+ [THE Labo][the_labo_url]

[the_labo_url]: https://github.com/the-labo

<!-- Links End -->

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