Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poad/appstore-connect-jwt-generator-core
https://github.com/poad/appstore-connect-jwt-generator-core
appstoreconnect jwt npm npm-module npm-package typescript
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/poad/appstore-connect-jwt-generator-core
- Owner: poad
- Created: 2020-12-12T01:47:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T23:26:15.000Z (9 months ago)
- Last Synced: 2024-04-14T06:06:42.798Z (9 months ago)
- Topics: appstoreconnect, jwt, npm, npm-module, npm-package, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/appstore-connect-jwt-generator-core
- Size: 70.5 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# appstore-connect-jwt-token-generator-core
[![npm version](https://badge.fury.io/js/appstore-connect-jwt-generator-core.svg)](https://badge.fury.io/js/appstore-connect-jwt-generator-core)
Generate the JWT for App Store Connect API.
```typescript
import jwt from 'appstore-connect-jwt-generator-core';
import * as fs from 'fs';const cert = fs.readFileSync('Path of certificate file', { flag: 'r' });
const token = jwt.tokenSync(cert, 'App Store Connect Issuer ID', 'App Store Connect Key ID');
```## Installation
```sh
npm i appstore-connect-jwt-token-generator-core
```or
```sh
yarn add appstore-connect-jwt-token-generator-core
```## Refernce