{"id":32122136,"url":"https://github.com/velo-org/velo","last_synced_at":"2026-02-18T20:32:07.422Z","repository":{"id":41251235,"uuid":"278173143","full_name":"velo-org/velo","owner":"velo-org","description":"A high-performance caching library for Deno. Supports LRU, LFU, ARC, and TinyLFU.","archived":false,"fork":false,"pushed_at":"2022-11-16T21:20:23.000Z","size":427,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-20T20:36:17.027Z","etag":null,"topics":["cache","caching","deno","typescript"],"latest_commit_sha":null,"homepage":"","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/velo-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-08T19:09:02.000Z","updated_at":"2025-01-08T14:56:55.000Z","dependencies_parsed_at":"2023-01-22T03:16:56.054Z","dependency_job_id":null,"html_url":"https://github.com/velo-org/velo","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/velo-org/velo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velo-org%2Fvelo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velo-org%2Fvelo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velo-org%2Fvelo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velo-org%2Fvelo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velo-org","download_url":"https://codeload.github.com/velo-org/velo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velo-org%2Fvelo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29594259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","caching","deno","typescript"],"created_at":"2025-10-20T20:24:02.302Z","updated_at":"2026-02-18T20:32:07.413Z","avatar_url":"https://github.com/velo-org.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/velo-org/velo/master/media/velo-banner.svg\"\u003e\n\n\u003ch1 align=\"center\"\u003eVelo\u003c/h1\u003e\n\u003cblockquote align=\"center\"\u003eA high-performance caching library for Deno\u003c/blockquote\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://deno.land/x/velo/mod.ts\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%20-docs-%23329e65?style=for-the-badge\u0026logo=deno\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/velo-org/velo/actions?query=workflow%3Atests\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/CI-passing-%23329e65?style=for-the-badge\u0026logo=github\"\u003e\n  \u003c/a\u003e\n  \u003ca href='https://coveralls.io/github/velo-org/velo?branch=master'\u003e\n    \u003cimg alt=\"Coveralls\" src=\"https://img.shields.io/coveralls/github/velo-org/velo?color=%23329e65\u0026style=for-the-badge\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/velo-org/velo/releases\"\u003e\n    \u003cimg alt=\"GitHub release (latest SemVer)\" src=\"https://img.shields.io/github/v/release/velo-org/velo?color=%23329e65\u0026label=version\u0026style=for-the-badge\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Usage](#usage)\n- [Features Overview](#features-overview)\n- [Performance](#performance)\n\n## Introduction\n\nVelo is an in-memory caching library for Deno focusing on high throughput and hit rate. It provides a simple API, multiple cache strategies, and a variety of optional features. For more details, take a look at our [examples](./examples/) and browse the [documentation](https://doc.deno.land/https/deno.land/x/velo@0.1.6/mod.ts).\n\n## Features Overview\n- Size-based eviction\n- Multiple cache strategies (LRU, LFU, ARC, SC, W-TinyLFU)\n- Automated loading of entries into the cache \n- Time-based expiration of entries\n- Listener for cache removals (eviction, expiration, overwrite, manual removal)\n- EventEmitter for cache events\n- Collecting cache hit and miss statistics\n\n\n## Usage\n\n- Install from `deno.land/x`\n\n```ts\nimport { Velo } from \"https://deno.land/x/velo@1.0.0/mod.ts\";\n```\n- [![nest badge](https://nest.land/badge.svg)](https://nest.land/package/velo)\n\n```ts\nimport { Velo } from \"https://x.nest.land/velo@1.0.0/mod.ts\";\n```\n\n`Velo` is a builder class to create a cache instance.\n\n```ts\nconst cache = Velo.builder\u003cstring, User\u003e()\n  .capacity(100_000)\n  .ttl(120_000) // 2 minutes\n  .events()\n  .build();\n\ncache.set(\"u:1\", { id: \"1\", name: \"John Doe\" });\ncache.set(\"u:2\", { id: \"2\", name: \"Jane Doe\" });\n\ncache.get(\"u:1\"); // { id: \"1\", name: \"John Doe\" }\n```\n\nFor more detailed explanation and usage guides look at the [examples](./examples/).\n\n## Performance\n\nVelo is designed to be fast. It utilizes a fixed-capacity doubly-linked list as internal data structure for policy implementations. This list relies on a custom pointer system inspired by the [mnemonist lru cache](https://github.com/Yomguithereal/mnemonist/blob/master/lru-cache.js), which employs TypedArrays to circumvent bookkeeping overhead.\n\n### Benchmarks\n\nIn [velo-benchmarks](https://github.com/velo-org/velo-benchmarks) we provide a set of benchmarks to compare the performance of Velo with other caching libraries. Both hit rate and throughput are measured.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelo-org%2Fvelo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelo-org%2Fvelo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelo-org%2Fvelo/lists"}