1.0.2 • Published 1 year ago

@usama8800/windows-notification-reader v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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});
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago