Legacy JavaScript examples
Warning
This is documentation for the deprecated legacy JavaScript library, c2pa-js-legacy. This library is no longer maintained or supported. Instead use the new JavaScript web library.
Legacy JavaScript library documentation
JavaScript examples are in contentauth/c2pa-js-examples. The examples are mirrored from the examples directory in the contentauth/c2pa-js repository.
note
The JavaScript library uses a number of modern JavaScript technologies such as WebAssembly (Wasm) and Web Workers. To understand the JavaScript examples, you should be familiar with these technologies, TypeScript and at least one bundler tool such as Webpack, Rollup, or Vite.
Additionally, the JavaScript examples use TypeScript for type safety. |