@apiverve/agecalculator 1.1.5 → 1.1.6

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 +16 -11
  2. package/package.json +31 -31
package/README.md CHANGED
@@ -67,17 +67,22 @@ api.execute(query, function (error, data) {
67
67
  ###### Example Response
68
68
 
69
69
  ```
70
- {
71
- "status": "ok",
72
- "error": null,
73
- "data": {
74
- "dob": "1990-01-01",
75
- "age_years": 34,
76
- "age_months": 416,
77
- "age_weeks": 1808,
78
- "age_days": 12662
79
- },
80
- "code": 200
70
+ {
71
+ "status": "ok",
72
+ "error": null,
73
+ "data": {
74
+ "dob": "1990-01-01",
75
+ "age_years": 34,
76
+ "age_months": 416,
77
+ "age_weeks": 1812,
78
+ "age_days": 12686,
79
+ "age_words": {
80
+ "years": "thirty-four",
81
+ "ordinal": "thirty-fourth",
82
+ "full": "thirty-four years old"
83
+ }
84
+ },
85
+ "code": 200
81
86
  }
82
87
  ```
83
88
 
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@apiverve/agecalculator",
3
- "version": "1.1.5",
4
- "description": "Age Calculator is a simple tool for calculating age from the date of birth. It returns the calculated age based on the date of birth provided.",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "mocha"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/apiverve/agecalculator-API.git"
12
- },
13
- "keywords": [
14
- "age calculator","age calculator api","age calculator tool","age calculator software","age calculator service"
15
- ],
16
- "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
- "license": "MIT",
18
- "bugs": {
19
- "url": "https://github.com/apiverve/agecalculator-API/issues"
20
- },
21
- "homepage": "https://apiverve.com/marketplace/api/agecalculator?utm_source=npm",
22
- "devDependencies": {
23
- "mocha": "^10.7.3",
24
- "chai": "^5.1.1",
25
- "dotenv": "^16.4.5"
26
- },
27
- "dependencies": {
28
- "node-fetch": "^3.3.2",
29
- "promise": "^8.3.0",
30
- "axios": "1.7.7"
31
- }
1
+ {
2
+ "name": "@apiverve/agecalculator",
3
+ "version": "1.1.6",
4
+ "description": "Age Calculator is a simple tool for calculating age from the date of birth. It returns the calculated age based on the date of birth provided.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "mocha"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/apiverve/agecalculator-API.git"
12
+ },
13
+ "keywords": [
14
+ "age calculator","age calculator api","age calculator tool","age calculator software","age calculator service"
15
+ ],
16
+ "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/apiverve/agecalculator-API/issues"
20
+ },
21
+ "homepage": "https://apiverve.com/marketplace/api/agecalculator?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
  }