https://github.com/paypal/paypal-js
Loading wrapper and TypeScript types for the PayPal JS SDK
https://github.com/paypal/paypal-js
async-loader checkout js-sdk paypal react typescript typescript-definitions
Last synced: 2 months ago
JSON representation
Loading wrapper and TypeScript types for the PayPal JS SDK
- Host: GitHub
- URL: https://github.com/paypal/paypal-js
- Owner: paypal
- License: apache-2.0
- Created: 2020-07-07T21:55:16.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2026-04-02T15:15:59.000Z (2 months ago)
- Last Synced: 2026-04-03T03:39:48.030Z (2 months ago)
- Topics: async-loader, checkout, js-sdk, paypal, react, typescript, typescript-definitions
- Language: TypeScript
- Homepage: https://paypal.github.io/paypal-js/
- Size: 10.5 MB
- Stars: 322
- Watchers: 39
- Forks: 134
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
## PayPal JS Monorepo
This is a collection of libraries intended to help developers more easily integrate with PayPal's JS SDK
### Packages Available
Below is a list of available packages to install.
Each package has its own documentation in its respective README.
- [@paypal/paypal-js](./packages/paypal-js/README.md): PayPal's Vanilla JS loader and TypeScript types
- [@paypal/react-paypal-js](./packages/react-paypal-js/README.md): PayPal's React library
- [@paypal/react-paypal-js-storybook](./packages/react-paypal-js-storybook/v6/README.md): Storybook documentation for PayPal's React library
### Contributing
#### Tools used
- [changesets](https://github.com/changesets/changesets) for tracking version changes
- [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces/) for monorepo package management
- [prettier](https://prettier.io) for code formatting
#### Steps to make a change
1. Install dependencies:
```
npm install
```
2. Make proposed changes
3. Run tests
```
npm test
```
4. Add a changeset for versioning
```
npm run changeset:add
```
5. Open a new PR
### Releasing
#### Releasing a new latest
To release a new version please leverage Github Actions. There is a release action that can be run to create a new release.
#### Release a new alpha
There is no Github Action for alpha release at this time. Because this repo utilizes changesets we can follow their process locally in the meantime. This document can be seen [here](https://github.com/changesets/changesets/blob/main/docs/prereleases.md).