a ReScript binding for the JavaScript Notifications API.
This package closely wraps the web
Notifications API.
It will not include the Notification API Service Worker Additions. Instead,
it will be a dependency of the forthcoming rescript-service-worker.
This package has not been exhaustively tested. Please open issues.
This package is currently supported but may go long periods of time without
fresh commits because it is something like "finished". Yes, software is like
fashion, and fashion is never finished, and I will try to upgrade the ReScript
language version from time to time, but unless there are significant defects
in this project you can generally consider this project to be as stable as the
ReScript language and the Notifications API.
This is to say: Don't be alarmed by the lack of recent commits! Stability is
good! And don't be afraid to open issues.
npm install rescript-notifications'data. Thisdata property of the NotificationOptions passed into the options. If you need to support much older browsers that have farBecause I have merely translated the API from the JavaScript specification
into ReScript with no implementation, I do not consider anything in this
repository to be copyrightable.
As a courtesy, I have included a copy of the MIT license anyway just in case
your lawyers are fussy about this sort of thing.