This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@worldcoin/id
TypeScript icon, indicating that this package has built-in type declarations

0.9.2 • Public • Published

World ID JS Widget

This folder (/id) contains the main code for the JS widget. For instructions on how to use the widget, please refer to the repository's main README.

ℹ️ About the codebase

  • The widget is made to work mainly with vanilla JS code (no framework required). The starting point can be found in vanilla.ts.
  • The React wrapper is found on Widget.tsx (and is exported as WorldIDWidget).

🧑‍💻 Development & testing

To develop locally and contribute to this package, you can simply follow these instructions after cloning the repo.

  • Install dependencies
    # be sure to run this in the root folder of the repo
    yarn install
  • Run tests
    # runs in the /id folder
    cd id/
    yarn test
  • Run local test project
    # runs in the /id folder
    yarn dev
  • Open browser at http://localhost:3000
  • To build the production bundle you can simply run.
    # runs in the /id folder
    yarn build

Package Sidebar

Install

npm i @worldcoin/id

Weekly Downloads

74

Version

0.9.2

License

MIT

Unpacked Size

1.55 MB

Total Files

51

Last publish

Collaborators

  • kszarek-tfh
  • paolodamico
  • m1guelpiedrafita
  • worldcoinops
  • penryn
  • lukejmann
  • andy_tfh
  • juan-tfh
  • dcbuild3r
  • danielppolo
  • igorosip0v