Socket
Socket
Sign inDemoInstall

rescript-push

Package Overview
Dependencies
2
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rescript-push

This package closely wraps the [Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API). It does not include the Push API Service Worker Additions. Instead, it is a dependency of the `rescript-service-worker` package. It has not been exhaust


Version published
Weekly downloads
25
increased by177.78%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

rescript-push

This package closely wraps the Push API. It does not include the Push API Service Worker Additions. Instead, it is a dependency of the rescript-service-worker package. It has not been exhaustively tested.

Installation

npm i rescript-push

Implemented

Notes

'data

'data is a frequent type parameter. It represents the untyped data object passed into the eventInitDict of the PushEvent constructor.

PushMessageData

There's currently no ReScript Blob type binding that I'm aware of, so rather than find a workaround, I'm just leaving that one as an exercise for the reader.

License

This software is available under two licenses.

  • an adaptation of the Do No Harm license which I've called the No Violence license.
  • the MIT license.

Both are available in this directory.

For further reading

I strongly recommend you check out my catch-all documentation on my projects. It describes how to get in touch with me if you have any questions, how to contribute code, coordinated disclosure of security vulnerabilities, and more. It will be regularly updated with any information I deem relevant to my side projects.

Keywords

FAQs

Last updated on 15 Feb 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc