├── .babelrc.js ├── .gitignore ├── .npmignore ├── .prettierrc ├── .travis.yml ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── doc └── sozialhelden-logo.svg ├── jest.config.json ├── package.json ├── src ├── FetchCache.spec.ts ├── FetchCache.ts ├── defaultTTL.spec.ts ├── defaultTTL.ts ├── index.ts └── types.ts ├── tests └── unit │ └── spec-bundle.js ├── tsconfig.json └── tslint.json /.babelrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/.babelrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/.prettierrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/README.md -------------------------------------------------------------------------------- /doc/sozialhelden-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/doc/sozialhelden-logo.svg -------------------------------------------------------------------------------- /jest.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/jest.config.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/package.json -------------------------------------------------------------------------------- /src/FetchCache.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/src/FetchCache.spec.ts -------------------------------------------------------------------------------- /src/FetchCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/src/FetchCache.ts -------------------------------------------------------------------------------- /src/defaultTTL.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/src/defaultTTL.spec.ts -------------------------------------------------------------------------------- /src/defaultTTL.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/src/defaultTTL.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/src/types.ts -------------------------------------------------------------------------------- /tests/unit/spec-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/tests/unit/spec-bundle.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sozialhelden/fetch-cache/HEAD/tslint.json --------------------------------------------------------------------------------