@usama8800/windows-notification-reader
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Freedesktop Notification Reader

Reads windows notifications from database

Usage

import { getNotification } from '@usama8800/windows-notification-reader';

// From Application
const chromeNoti = await getNotification({from: 'Chrome'});

// With header
const instaNoti = await getNotification({head: 'Instagram'});

// Regex match on body
const messageNoti = await getNotification({head: 'Instagram', body: /inta_username: /i});

// Old notification (not dismissed)
const oldNoti = await getNotification({after: Date.now() - 60_000_000});

Package Sidebar

Install

npm i @usama8800/windows-notification-reader

Weekly Downloads

5

Version

1.0.2

License

ISC

Unpacked Size

19.4 kB

Total Files

12

Last publish

Collaborators

  • usama8800