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

express-passkit-webservice

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-passkit-webservice

Express.js integration for Apple Wallet web services

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-95.92%
Maintainers
0
Weekly downloads
 
Created
Source

Express Passkit WebService

Integrate Apple Wallet Web services in your current Express Js integration.

Architecture

Express Passkit Webservice, as the name says, wraps Apple Wallet specifications into a Express js integration.

It exposes a set of middlewares / routes that will let yourself to dedicate exclusively to the integration of the business logic.

Each plugin represents a subscription to an endpoint defined in Apple Wallet Developer Documentation.

Everything is designed to provide a good developer experience. It is fully compatible with Typescript.

This package is an integration of passkit-webservice-toolkit. Visit it for other integrations.

Both Express v4 and v5 are supported.

Installation

$ npm install express-passkit-webservice

API Documentation

All the details are available in the project wiki.


Usage example

All the exposed middlewares work like this:

import express from "express";
import registrationRouter from "express-passkit-webservice/v1/registration.js";

const app = express();

app.use(registrationRouter({
	async onRegister(deviceLibraryIdentifier, passTypeIdentifier, serialNumber, pushToken) {
		/** your implementation */
	}
	async onUnregister(deviceLibraryIdentifier, passTypeIdentifier, serialNumber) {
		/** your implementation */
	}
}));

Keywords

FAQs

Package last updated on 25 Dec 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