UNPKG

1.63 kBJSONView Raw
1{
2 "name": "mem",
3 "version": "9.0.2",
4 "description": "Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input",
5 "license": "MIT",
6 "repository": "sindresorhus/mem",
7 "funding": "https://github.com/sindresorhus/mem?sponsor=1",
8 "author": {
9 "name": "Sindre Sorhus",
10 "email": "sindresorhus@gmail.com",
11 "url": "https://sindresorhus.com"
12 },
13 "type": "module",
14 "exports": "./dist/index.js",
15 "engines": {
16 "node": ">=12.20"
17 },
18 "scripts": {
19 "test": "xo && ava && npm run build && tsd",
20 "build": "del-cli dist && tsc",
21 "prepack": "npm run build"
22 },
23 "types": "dist/index.d.ts",
24 "files": [
25 "dist"
26 ],
27 "keywords": [
28 "memoize",
29 "function",
30 "mem",
31 "memoization",
32 "cache",
33 "caching",
34 "optimize",
35 "performance",
36 "ttl",
37 "expire",
38 "promise"
39 ],
40 "dependencies": {
41 "map-age-cleaner": "^0.1.3",
42 "mimic-fn": "^4.0.0"
43 },
44 "devDependencies": {
45 "@ava/typescript": "^1.1.1",
46 "@sindresorhus/tsconfig": "^1.0.2",
47 "@types/serialize-javascript": "^4.0.0",
48 "ava": "^3.15.0",
49 "del-cli": "^3.0.1",
50 "delay": "^4.4.0",
51 "serialize-javascript": "^5.0.1",
52 "ts-node": "^10.1.0",
53 "tsd": "^0.13.1",
54 "typescript": "^4.3.5",
55 "xo": "^0.41.0"
56 },
57 "ava": {
58 "timeout": "1m",
59 "extensions": {
60 "ts": "module"
61 },
62 "nonSemVerExperiments": {
63 "configurableModuleFormat": true
64 },
65 "nodeArguments": [
66 "--loader=ts-node/esm"
67 ]
68 },
69 "xo": {
70 "rules": {
71 "@typescript-eslint/member-ordering": "off",
72 "@typescript-eslint/no-var-requires": "off",
73 "@typescript-eslint/no-empty-function": "off"
74 }
75 }
76}