picket-js is an npm package.
npm install "@picketapi/picket-js"
The Picket constructor creates a new instance of the Picket class. It takes a publishable API key as a parameter.
import Picket from "@picketapi/picket-js" const picket = new Picket("YOUR_PUBLISHABLE_KEY_HERE")
For more information, checkout the docs