@xrplkit/xls26 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/package.json +9 -2
  2. package/readme.md +30 -30
package/package.json CHANGED
@@ -1,12 +1,19 @@
1
1
  {
2
2
  "name": "@xrplkit/xls26",
3
3
  "type": "module",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "main": "xls26.js",
6
6
  "dependencies": {
7
7
  "@xrplkit/toml": "1.0.0"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
11
- }
11
+ },
12
+ "keywords": [
13
+ "xrpl",
14
+ "xls-26",
15
+ "parser",
16
+ "metadata",
17
+ "tokens"
18
+ ]
12
19
  }
package/readme.md CHANGED
@@ -7,7 +7,7 @@ This package exports one single function called `parse` that converts the string
7
7
  ## Example
8
8
  Assuming you have a file named `xrp-ledger.toml` in the current working directory. An example file can be found below.
9
9
 
10
- ```
10
+ ```javascript
11
11
  import fs from 'fs'
12
12
  import { parse } from '@xrplkit/xls26'
13
13
 
@@ -20,7 +20,7 @@ console.log(xls26Data)
20
20
 
21
21
  ### Example File
22
22
 
23
- ```
23
+ ```toml
24
24
  [[ISSUERS]]
25
25
  address = "rCSCManTZ8ME9EoLrSHHYKW8PPwWMgkwr"
26
26
  name = "CasinoCoin"
@@ -45,35 +45,35 @@ type = "socialmedia"
45
45
 
46
46
  ### Example Output
47
47
 
48
- ```
48
+ ```javascript
49
49
  {
50
- issuers: [
51
- {
52
- address: 'rCSCManTZ8ME9EoLrSHHYKW8PPwWMgkwr',
53
- name: 'CasinoCoin'
54
- }
55
- ],
56
- tokens: [
57
- {
58
- currency: 'CSC',
59
- issuer: 'rCSCManTZ8ME9EoLrSHHYKW8PPwWMgkwr',
60
- name: 'CasinoCoin',
61
- desc: 'CasinoCoin (CSC) is a digital currency, developed specifically for the regulated gaming industry.',
62
- icon: 'https://static.xrplmeta.org/icons/csc.png',
63
- weblinks: [
64
- {
65
- url: 'https://casinocoin.im',
66
- type: 'website',
67
- title: 'Official Website'
68
- },
69
- {
70
- url: 'https://twitter.com/CasinoCoin',
71
- type: 'socialmedia'
72
- }
73
- ]
74
- }
75
- ],
76
- issues: []
50
+ issuers: [
51
+ {
52
+ address: 'rCSCManTZ8ME9EoLrSHHYKW8PPwWMgkwr',
53
+ name: 'CasinoCoin'
54
+ }
55
+ ],
56
+ tokens: [
57
+ {
58
+ currency: 'CSC',
59
+ issuer: 'rCSCManTZ8ME9EoLrSHHYKW8PPwWMgkwr',
60
+ name: 'CasinoCoin',
61
+ desc: 'CasinoCoin (CSC) is a digital currency, developed specifically for the regulated gaming industry.',
62
+ icon: 'https://static.xrplmeta.org/icons/csc.png',
63
+ weblinks: [
64
+ {
65
+ url: 'https://casinocoin.im',
66
+ type: 'website',
67
+ title: 'Official Website'
68
+ },
69
+ {
70
+ url: 'https://twitter.com/CasinoCoin',
71
+ type: 'socialmedia'
72
+ }
73
+ ]
74
+ }
75
+ ],
76
+ issues: []
77
77
  }
78
78
 
79
79
  ```