yini-parser 1.0.0-alpha.3 → 1.0.0-alpha.4

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/README.md +10 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -59,9 +59,10 @@ import YINI from 'yini-parser';
59
59
 
60
60
  // Parse from string.
61
61
  const config = YINI.parse(`
62
- ^ Database
63
- host = localhost
64
- port = 5432
62
+ ^ App
63
+ title = "My App Title"
64
+ items = 25
65
+ isDarkTheme = OFF
65
66
  `);
66
67
 
67
68
  // Parse from file.
@@ -105,10 +106,11 @@ Returns a JavaScript object representing the parsed YINI configuration file.
105
106
  ## Example Output
106
107
  ```js
107
108
  {
108
- Database: {
109
- host: "localhost",
110
- port: 5432
111
- }
109
+ App:{
110
+ title: "My App Title",
111
+ items: 25,
112
+ isDarkTheme: false
113
+ }
112
114
  }
113
115
  ```
114
116
 
@@ -127,5 +129,4 @@ In this project on GitHub, the `libs` directory contains third party software an
127
129
 
128
130
  ---
129
131
 
130
- > ~ **YINI ≡**
131
- > [https://yini-lang.org](https://yini-lang.org)
132
+ ~ **YINI ≡** • [https://yini-lang.org](https://yini-lang.org)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yini-parser",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.4",
4
4
  "description": "YINI parser for JavaScript/TypeScript, an INI-inspired configuration format, meant to be readable, and easy to use.",
5
5
  "keywords": [
6
6
  "read",