@63klabs/cache-data 1.2.2

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/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security Policy
2
+
3
+ ## Reporting a Vulnerability
4
+
5
+ Report all vulnerabilities under the [Security menu in the Cache-Data GitHub repository](https://github.com/chadkluck/npm-chadkluck-cache-data/security/advisories).
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@63klabs/cache-data",
3
+ "version": "1.2.2",
4
+ "description": "Cache data from an API endpoint or application process using AWS S3 and DynamoDb",
5
+ "author": "Chad Leigh Kluck (https://chadkluck.me)",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/63klabs/npm-cache-data.git"
10
+ },
11
+ "main": "src/index.js",
12
+ "directories": {
13
+ "test": "test"
14
+ },
15
+ "engines": {
16
+ "node": ">=16.0.0"
17
+ },
18
+ "dependencies": {
19
+ "aws-xray-sdk-core": "^3.6.0",
20
+ "moment-timezone": "^0.5.43",
21
+ "object-hash": "^3.0.0"
22
+ },
23
+ "devDependencies": {
24
+ "@aws-sdk/client-dynamodb": "3.x",
25
+ "@aws-sdk/client-s3": "3.x",
26
+ "@aws-sdk/client-ssm": "3.x",
27
+ "@aws-sdk/lib-dynamodb": "3.x",
28
+ "aws-sdk": "2.x",
29
+ "chai": "^5.2.0",
30
+ "chai-http": "^5.1.1",
31
+ "lambda-tester": "^4.0.1",
32
+ "mocha": "^11.1.0",
33
+ "sinon": "^20.0.0"
34
+ },
35
+ "scripts": {
36
+ "test": "mocha 'test/**/*-tests.mjs'",
37
+ "test:cache": "mocha 'test/cache/**/*-tests.mjs'",
38
+ "test:config": "mocha 'test/config/**/*-tests.mjs'",
39
+ "test:endpoint": "mocha 'test/endpoint/**/*-tests.mjs'",
40
+ "test:lambda": "mocha 'test/lambda/**/*-tests.mjs'",
41
+ "test:logging": "mocha 'test/logging/**/*-tests.mjs'",
42
+ "test:request": "mocha 'test/request/**/*-tests.mjs'",
43
+ "test:response": "mocha 'test/response/**/*-tests.mjs'",
44
+ "test:utils": "mocha 'test/utils/**/*-tests.mjs'"
45
+ },
46
+ "keywords": [
47
+ "api",
48
+ "cache",
49
+ "AWS S3",
50
+ "AWS DynamoDb",
51
+ "aws",
52
+ "AWS Lambda"
53
+ ],
54
+ "bugs": {
55
+ "url": "https://github.com/63klabs/npm-cache-data/issues"
56
+ },
57
+ "homepage": "https://github.com/chadkluck/npm-chadkluck-cache-data#readme"
58
+ }
package/src/index.js ADDED
@@ -0,0 +1,9 @@
1
+ const tools = require("./lib/tools/index.js");
2
+ const cache = require("./lib/dao-cache.js");
3
+ const endpoint = require("./lib/dao-endpoint.js");
4
+
5
+ module.exports = {
6
+ tools,
7
+ cache,
8
+ endpoint
9
+ };