@learncard/helpers 1.3.5 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/helpers.cjs.development.cjs +9837 -7556
- package/dist/helpers.cjs.development.cjs.map +3 -3
- package/dist/helpers.cjs.production.min.cjs +111 -27
- package/dist/helpers.cjs.production.min.cjs.map +3 -3
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/helpers.esm.js +4374 -2485
- package/dist/helpers.esm.js.map +3 -3
- package/package.json +68 -66
- package/src/Utilities.ts +71 -0
- package/src/app-install/index.ts +168 -0
- package/src/arrays/index.ts +20 -0
- package/src/bitstring-status-list/index.ts +69 -0
- package/src/credential-format.ts +508 -0
- package/src/images/discord.helpers.ts +103 -0
- package/src/images/filestack.helpers.ts +179 -0
- package/src/images/images.helpers.ts +75 -0
- package/src/images/index.ts +1 -0
- package/src/images/unsplash.helpers.ts +110 -0
- package/src/images/url.helpers.ts +46 -0
- package/src/index.ts +105 -0
- package/src/numbers/index.ts +21 -0
- package/src/state.ts +576 -0
- package/src/strings/index.ts +4 -0
- package/src/types/index.ts +5 -0
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
[<img src="https://user-images.githubusercontent.com/2185016/190510561-294db809-09fd-4771-9749-6c0e0f4144fd.png" width="215"/>](https://learncard.com)
|
|
2
2
|
|
|
3
3
|
# @learncard/helpers
|
|
4
|
+
|
|
4
5
|
[](https://www.npmjs.com/package/@learncard/helpers)
|
|
5
6
|
[](https://www.npmjs.com/package/@learncard/helpers)
|
|
6
7
|
[](https://www.npmjs.com/package/@learncard/helpers)
|
|
@@ -8,26 +9,27 @@
|
|
|
8
9
|
Shared helpers for learn card
|
|
9
10
|
|
|
10
11
|
## Documentation
|
|
12
|
+
|
|
11
13
|
All LearnCard documentation can be found at:
|
|
12
14
|
https://docs.learncard.com
|
|
13
15
|
|
|
14
16
|
## Install
|
|
15
17
|
|
|
16
18
|
```bash
|
|
17
|
-
|
|
19
|
+
bun install @learncard/helpers
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
## Usage
|
|
21
23
|
|
|
22
24
|
```js
|
|
23
|
-
import { isHex } from
|
|
25
|
+
import { isHex } from '@learncard/helpers';
|
|
24
26
|
|
|
25
27
|
const test = 'abc123';
|
|
26
28
|
console.log(isHex(test)); // true
|
|
27
29
|
```
|
|
28
30
|
|
|
29
|
-
|
|
30
31
|
## Contributing
|
|
32
|
+
|
|
31
33
|
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
|
32
34
|
|
|
33
35
|
Please make sure to update tests as appropriate.
|
|
@@ -36,8 +38,6 @@ Please make sure to update tests as appropriate.
|
|
|
36
38
|
|
|
37
39
|
**[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:
|
|
38
40
|
|
|
39
|
-
|
|
40
41
|
## License
|
|
41
42
|
|
|
42
43
|
MIT © [Learning Economy Foundation](https://github.com/Learning-Economy-Foundation)
|
|
43
|
-
|