{"id":18348792,"url":"https://github.com/cloudstek/nodejs-cache","last_synced_at":"2026-05-02T04:32:10.599Z","repository":{"id":37695288,"uuid":"187928940","full_name":"Cloudstek/nodejs-cache","owner":"Cloudstek","description":"Simple key/value (cache) store.","archived":false,"fork":false,"pushed_at":"2023-01-06T01:51:30.000Z","size":991,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T15:19:30.638Z","etag":null,"topics":["cache","key-value","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cloudstek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-21T23:37:09.000Z","updated_at":"2020-04-05T23:21:34.000Z","dependencies_parsed_at":"2023-02-05T02:01:35.279Z","dependency_job_id":null,"html_url":"https://github.com/Cloudstek/nodejs-cache","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudstek%2Fnodejs-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudstek%2Fnodejs-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudstek%2Fnodejs-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudstek%2Fnodejs-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cloudstek","download_url":"https://codeload.github.com/Cloudstek/nodejs-cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248129016,"owners_count":21052497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","key-value","nodejs"],"created_at":"2024-11-05T21:19:17.237Z","updated_at":"2026-05-02T04:32:10.544Z","avatar_url":"https://github.com/Cloudstek.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @cloudstek/cache\n\u003e Simple key/value (cache) store.\n\n[![CircleCI](https://circleci.com/gh/Cloudstek/nodejs-cache.svg?style=svg)](https://circleci.com/gh/Cloudstek/nodejs-cache) [![Coverage Status](https://coveralls.io/repos/github/Cloudstek/nodejs-cache/badge.svg?branch=master)](https://coveralls.io/github/Cloudstek/nodejs-cache?branch=master)\n\nIt doesn't do anything fancy and it doesn't have a fancy name. Yet I needed a simple key/value store with optional support for expiration of items.\n\n### Features\n\n* Optional expiration of items (without expiration it works as a simple k/v store)\n* Per-item configurable TTL.\n* Iterable storage\n* Written in typescript\n* Support writing to JSON or in-memory.\n\n## Requirements\n\n* NodeJS \u003e= 10\n* NPM / Yarn\n\n## Installation\n\nUsing yarn (preferred):\n\n```sh\nyarn add @cloudstek/cache\n```\n\nUsing NPM:\n\n```sh\nnpm install @cloudstek/cache\n```\n\n## Development\n\nClone this repository to get started. You can replace `yarn` in the commands below with `npm` if you use NPM.\n\n### Build code and watch for changes\n\nDuring development you can build the code once and have typescript watch for changes and recompile automatically.\n\n```sh\nyarn run watch\n```\n\n### Checking code for style\n\nTo check the code for style correctness run:\n\n```sh\nyarn run lint\n```\n\n### Running tests\n\nTests are run using [Ava](https://github.com/avajs/ava) and coverage is generated using [Istanbul](https://istanbul.js.org/). To run the tests run:\n\n```sh\nyarn run build\nyarn run test\n```\n\n### Building the code for release\n\nTo build the code for release (e.g. npm publish), run:\n\n```sh\nyarn run build:dist\n```\n\n## Also check out\n\n [sindresorhus/conf](https://github.com/sindresorhus/conf): Simple config handling for your app or module\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudstek%2Fnodejs-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudstek%2Fnodejs-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudstek%2Fnodejs-cache/lists"}