c2pa-js icon indicating copy to clipboard operation
c2pa-js copied to clipboard

JavaScript SDK for displaying and validating C2PA data

C2PA JavaScript SDK

This library aims to make viewing and verifying C2PA metadata in the browser as easy as possible.

For more information, please view the documentation at https://opensource.contentauthenticity.org/docs/js-sdk/getting-started/overview.

Getting started

This monorepo is managed by Rush. To get started:

Install Rush:

npm install -g @microsoft/rush

Install Rush-managed tooling and package dependencies:

rush install

Build all packages:

rush build 

To run an individual package's package.json commands, use the rushx command from within that package's directory, e.g.:

cd packages/c2pa
rushx dev