# @the-/window

> Browser utility for the-framework

Latest version **15.8.3** (published 2019-12-11) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 15.8.3 |
| Published | 2019-12-11 |
| First published | 2019-03-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 3 |
| Unpacked size | 68.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Taka Okunishi |
| Maintainers | okunishinishi |
| Keywords | lib, the |

## Links

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

## Dependencies (3)

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

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 15.8.3 (latest) — 2019-12-11
- 15.8.2 — 2019-10-24
- 15.8.1 — 2019-10-24
- 15.8.0 — 2019-10-24
- 15.6.3 — 2019-10-24
- 15.6.1 — 2019-10-20
- 15.5.5 — 2019-08-10
- 15.5.2 — 2019-06-04
- 15.5.1 — 2019-06-04
- 15.5.0 — 2019-06-02
- 15.4.1 — 2019-04-30
- 15.2.0 — 2019-03-31
- 15.1.4 — 2019-03-31
- 15.1.3 — 2019-03-30
- 15.1.2 — 2019-03-30
- … 3 more at https://npm.io/package/@the-/window/versions

## README

@the-/window
==========

<!---
This file is generated by @the-/templates. Do not update manually.
--->

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

[![npm Version][bd_npm_shield_url]][bd_npm_url]

[bd_repo_url]: https://github.com/the-labo/the
[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

<!-- 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/readme/01.Installation.md.hbs" Start -->

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

Installation
-----

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


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

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

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

Usage
---------

```javascript
'use strict'

const React = require('react')
const { mount, once } = 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/readme/02.Usage.md.hbs" End -->


<!-- Sections Start -->

<a name="api"></a>

## API Guide


- module:@the-/window
  - [.detail(shouldPrevent)](./doc/api/api.md#module_@the-/window.detail)
  - [.full(options)](./doc/api/api.md#module_@the-/window.full)
  - [.get(name)](./doc/api/api.md#module_@the-/window.get)
  - [.line(handler,options)](./doc/api/api.md#module_@the-/window.line)
  - [.once(handler,event)](./doc/api/api.md#module_@the-/window.once)
  - [.open(url)](./doc/api/api.md#module_@the-/window.open)
  - [.reload(options)](./doc/api/api.md#module_@the-/window.reload)
  - [.rescue(handler,event)](./doc/api/api.md#module_@the-/window.rescue)
  - [.set(name,value)](./doc/api/api.md#module_@the-/window.set)
- global
  - [show(url)](./doc/api/api.md#show)

See [API Guide](./doc/api/api.md) for more detail


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

License
-------
This software is released under the [MIT License](https://github.com/the-labo/the/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._
