Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rescript-push

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
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.

Long-term support

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 Push 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.

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

Because 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. If you'd rather have a different license instead or in addition to it, let me know and I'll write one for you.

Keywords

FAQs

Package last updated on 11 Nov 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc