door-listener
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

door-listener

semantic-release JavaScript Style Guide ts code style: prettier License: MIT

Listen to the door (Node process) and do something!

Installation

yarn add door-listener

Usage

import { onClose, onOpen } from 'door-listener'

// Top of your entry code
onOpen(() => {
    // do something
})

onClose(() => {
    // do something
})

Readme

Keywords

none

Package Sidebar

Install

npm i door-listener

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

123 kB

Total Files

25

Last publish

Collaborators

  • reiiyuki