@learncard/did-web-plugin 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Learning Economy, LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ [<img src="https://user-images.githubusercontent.com/2185016/190510561-294db809-09fd-4771-9749-6c0e0f4144fd.png" width="215"/>](https://learncard.com)
2
+
3
+ # @learncard/did-web-plugin
4
+
5
+ [![npm version](https://img.shields.io/npm/v/@learncard/core)](https://www.npmjs.com/package/@learncard/core)
6
+ [![npm downloads](https://img.shields.io/npm/dw/@learncard/core)](https://www.npmjs.com/package/@learncard/core)
7
+ [![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@learncard/core)](https://www.npmjs.com/package/@learncard/core)
8
+
9
+ The LearnCard DID Web Plugin is a plugin for adding did-web support to a LearnCard agent for signing VCs.
10
+
11
+ ## Documentation
12
+ All LearnCard documentation can be found at:
13
+ https://docs.learncard.com
14
+
15
+ ## Install
16
+
17
+ ```bash
18
+ pnpm i @learncard/core @learncard/did-web-plugin
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ```ts
24
+ import { initLearnCard } from '@learncard/core';
25
+ import { getDidWebPlugin } from '@learncard/did-web-plugin';
26
+
27
+ const emptyLearnCard = await initLearnCard();
28
+ const customLearnCard = await emptyLearnCard.addPlugin(getDidWebPlugin());
29
+ ```
30
+
31
+ ## Contributing
32
+ Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
33
+
34
+ Please make sure to update tests as appropriate.
35
+
36
+ ## Who is Learning Economy Foundation?
37
+
38
+ **[Learning Economy Foundation (LEF)](https://www.learningeconomy.io)** is a 501(c)(3) non-profit organization leveraging global standards and web3 protocols to bring quality skills and equal opportunity to every human on earth, and address the persistent inequities that exist around the globe in education and employment. We help you build the future of education and work with:
39
+
40
+
41
+ ## License
42
+
43
+ MIT © [Learning Economy Foundation](https://github.com/Learning-Economy-Foundation)