@apiverve/unitconverter 1.1.5 → 1.1.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 +27 -27
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -69,33 +69,33 @@ api.execute(query, function (error, data) {
|
|
|
69
69
|
###### Example Response
|
|
70
70
|
|
|
71
71
|
```
|
|
72
|
-
{
|
|
73
|
-
"status": "ok",
|
|
74
|
-
"error": null,
|
|
75
|
-
"data": {
|
|
76
|
-
"result": {
|
|
77
|
-
"result": 45.36,
|
|
78
|
-
"from": "100 lb",
|
|
79
|
-
"to": "kg"
|
|
80
|
-
},
|
|
81
|
-
"unitDefinitions": {
|
|
82
|
-
"from": {
|
|
83
|
-
"abbr": "lb",
|
|
84
|
-
"measure": "mass",
|
|
85
|
-
"system": "imperial",
|
|
86
|
-
"singular": "Pound",
|
|
87
|
-
"plural": "Pounds"
|
|
88
|
-
},
|
|
89
|
-
"to": {
|
|
90
|
-
"abbr": "kg",
|
|
91
|
-
"measure": "mass",
|
|
92
|
-
"system": "metric",
|
|
93
|
-
"singular": "Kilogram",
|
|
94
|
-
"plural": "Kilograms"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"code": 200
|
|
72
|
+
{
|
|
73
|
+
"status": "ok",
|
|
74
|
+
"error": null,
|
|
75
|
+
"data": {
|
|
76
|
+
"result": {
|
|
77
|
+
"result": 45.36,
|
|
78
|
+
"from": "100 lb",
|
|
79
|
+
"to": "kg"
|
|
80
|
+
},
|
|
81
|
+
"unitDefinitions": {
|
|
82
|
+
"from": {
|
|
83
|
+
"abbr": "lb",
|
|
84
|
+
"measure": "mass",
|
|
85
|
+
"system": "imperial",
|
|
86
|
+
"singular": "Pound",
|
|
87
|
+
"plural": "Pounds"
|
|
88
|
+
},
|
|
89
|
+
"to": {
|
|
90
|
+
"abbr": "kg",
|
|
91
|
+
"measure": "mass",
|
|
92
|
+
"system": "metric",
|
|
93
|
+
"singular": "Kilogram",
|
|
94
|
+
"plural": "Kilograms"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"code": 200
|
|
99
99
|
}
|
|
100
100
|
```
|
|
101
101
|
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@apiverve/unitconverter",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Unit Converter is a simple tool for converting units. It returns the converted value.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "mocha"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/apiverve/unitconverter-API.git"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"unit converter","unit conversion","unit converter api","unit conversion api","unit converter tool"
|
|
15
|
-
],
|
|
16
|
-
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"bugs": {
|
|
19
|
-
"url": "https://github.com/apiverve/unitconverter-API/issues"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://apiverve.com/marketplace/api/unitconverter?utm_source=npm",
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"mocha": "^
|
|
24
|
-
"chai": "^5.1.
|
|
25
|
-
"dotenv": "^16.4.
|
|
26
|
-
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"node-fetch": "^3.3.2",
|
|
29
|
-
"promise": "^8.3.0",
|
|
30
|
-
"axios": "1.7.
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@apiverve/unitconverter",
|
|
3
|
+
"version": "1.1.7",
|
|
4
|
+
"description": "Unit Converter is a simple tool for converting units. It returns the converted value.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "mocha"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/apiverve/unitconverter-API.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"unit converter","unit conversion","unit converter api","unit conversion api","unit converter tool"
|
|
15
|
+
],
|
|
16
|
+
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/apiverve/unitconverter-API/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://apiverve.com/marketplace/api/unitconverter?utm_source=npm",
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"mocha": "^11.0.1",
|
|
24
|
+
"chai": "^5.1.2",
|
|
25
|
+
"dotenv": "^16.4.7"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"node-fetch": "^3.3.2",
|
|
29
|
+
"promise": "^8.3.0",
|
|
30
|
+
"axios": "1.7.9"
|
|
31
|
+
}
|
|
32
32
|
}
|