@envelop/validation-cache
Advanced tools
Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "@envelop/validation-cache", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"sideEffects": false, | ||
@@ -11,10 +11,25 @@ "peerDependencies": { | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dotansimha/envelop.git", | ||
"directory": "packages/plugins/validation-cache" | ||
}, | ||
"author": "Dotan Simha <dotansimha@gmail.com>", | ||
"license": "MIT", | ||
"main": "index.cjs.js", | ||
"module": "index.esm.js", | ||
"main": "index.js", | ||
"module": "index.mjs", | ||
"typings": "index.d.ts", | ||
"typescript": { | ||
"definition": "index.d.ts" | ||
}, | ||
"exports": { | ||
".": { | ||
"require": "./index.js", | ||
"import": "./index.mjs" | ||
}, | ||
"./*": { | ||
"require": "./*.js", | ||
"import": "./*.mjs" | ||
} | ||
} | ||
} |
## `@envelop/validation-cache` | ||
This plugins adds simple LRU caching to your `validate`, to execurion improve performance by caching the validation result. | ||
This plugins adds simple LRU caching to your `validate`, to improve performance by caching the validation result. | ||
This plugins improves performance of validating by ~50% (based on benchmarks). | ||
## Getting Started | ||
@@ -6,0 +8,0 @@ |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
7872
65
38
0