You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-19Lines changed: 6 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,10 @@
1
1
# C2PA Node.js library
2
2
3
-
The [c2pa-node](https://github.com/contentauth/c2pa-node-v2) repository implements a Node.js API that can:
3
+
The [c2pa-node-v2](https://github.com/contentauth/c2pa-node-v2) repository implements a Node.js API that can:
4
4
- Read and validate C2PA data from media files in supported formats.
5
5
- Add signed manifests to media files in supported formats.
6
6
7
-
For more information on using the library in an application, see [Using the CAI Node library](docs/usage.md).
8
-
9
-
**WARNING**: This is an early prerelease version of this library. There may be bugs and unimplemented features, and the API is subject to change.
10
-
11
-
<divstyle={{display:'none'}}>
12
-
13
-
For the best experience, read the docs on the [CAI Open Source SDK documentation website](https://opensource.contentauthenticity.org/docs/c2pa-node/). Some additional documentation for this repository is also available on GitHub:
14
-
15
-
-[Using the Node library](docs/usage.md)
16
-
-[Supported media file formats](https://opensource.contentauthenticity.org/docs/c2pa-node/supported-formats)
17
-
-[Release notes](docs/release-notes.md)
18
-
-[Contributing to the project](docs/project-contributions.md)
19
-
20
-
</div>
7
+
**WARNING**: This is an early version of this library, and there may be bugs and unimplemented features.
21
8
22
9
## Prerequisites
23
10
@@ -29,24 +16,24 @@ If you need to manage multiple versions of Node on your machine, use a tool such
29
16
30
17
## Installation
31
18
32
-
### Installing for use in a client app
19
+
### Installing for use in an app
33
20
34
21
Using npm:
35
22
36
23
```sh
37
-
$ npm install c2pa-node
24
+
$ npm install @contentauth/c2pa-node
38
25
```
39
26
40
27
Using Yarn:
41
28
42
29
```sh
43
-
$ yarn add c2pa-node
30
+
$ yarn add @contentauth/c2pa-node
44
31
```
45
32
46
33
Using pnpm:
47
34
48
35
```sh
49
-
$ pnpm add c2pa-node
36
+
$ pnpm add @contentauth/c2pa-node
50
37
```
51
38
52
39
This command will download precompiled binaries for the following systems:
0 commit comments