@travetto/cache
Advanced tools
Comparing version 0.4.5 to 0.4.6
@@ -10,3 +10,3 @@ { | ||
"dependencies": { | ||
"@travetto/compiler": "^0.4.3", | ||
"@travetto/compiler": "^0.4.4", | ||
"@types/lru-cache": "^4.1.1", | ||
@@ -17,3 +17,3 @@ "lru-cache": "^4.1.3" | ||
"devDependencies": { | ||
"@travetto/test": "^0.4.5" | ||
"@travetto/test": "^0.4.6" | ||
}, | ||
@@ -32,4 +32,4 @@ "homepage": "https://travetto.io", | ||
}, | ||
"version": "0.4.5", | ||
"gitHead": "c723494714573aef32891181519ccceb988b3f41" | ||
"version": "0.4.6", | ||
"gitHead": "cd17462f7331b7a5a74181cfa9a1573b7cd26f9e" | ||
} |
travetto: Cache | ||
=== | ||
**Install: primary** | ||
```bash | ||
$ npm install @travetto/cache | ||
``` | ||
Provides a simple wrapper around [`lru-cache`](https://github.com/isaacs/node-lru-cache) to provide standard caching constructs. | ||
@@ -8,2 +13,3 @@ | ||
**Code: Using decorators to cache expensive async call** | ||
```typescript | ||
@@ -10,0 +16,0 @@ class Worker { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6580
30
Updated@travetto/compiler@^0.4.4