Installation

Installing with a Package Manager

It can be installed as an npm package.

npm install @wepin/pin-js

Once the installation is complete, initialize the WepinLogin instance using the app ID and app key assigned after registering the app. This will enable the use of WepinPin.

// 1. Import the package
import { WepinPin } from '@wepin/pin-js'

// 2. Initialization
const wepinPin = new WepinPin({
  appKey: 'your-wepin-app-key',
})

Last updated

Was this helpful?