{"id":16385776,"url":"https://github.com/hua1995116/lru-node-addon","last_synced_at":"2025-10-26T11:31:01.033Z","repository":{"id":40635424,"uuid":"211280135","full_name":"hua1995116/LRU-node-addon","owner":"hua1995116","description":"A native module for Node supporting LRU (least-recently-used).","archived":false,"fork":false,"pushed_at":"2019-12-23T06:17:36.000Z","size":15,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T18:51:10.332Z","etag":null,"topics":["lru-cache","node-addon"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hua1995116.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-09-27T09:07:31.000Z","updated_at":"2025-01-17T18:48:32.000Z","dependencies_parsed_at":"2022-09-09T00:42:10.216Z","dependency_job_id":null,"html_url":"https://github.com/hua1995116/LRU-node-addon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2FLRU-node-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2FLRU-node-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2FLRU-node-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2FLRU-node-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hua1995116","download_url":"https://codeload.github.com/hua1995116/LRU-node-addon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238319386,"owners_count":19452333,"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":["lru-cache","node-addon"],"created_at":"2024-10-11T04:15:18.924Z","updated_at":"2025-10-26T11:31:00.721Z","avatar_url":"https://github.com/hua1995116.png","language":"C++","readme":"# lru-node-addon\n\nA native module for Node supporting LRU (least-recently-used).\n\n# usage\n\n```javascript\nconst List = require(\"lru-node-addon\");\n\nconst list = new List();\nlist.SetMax(10);\n\nlist.Insert(\"10\", \"hello\");\nlist.Insert(\"1 1\", \"world\");\nlist.Insert(\"12\", \"hi1\");\nlist.Insert(\"13\", \"hi2\");\nlist.Insert(\"14\", \"hi3\");\nlist.Insert(\"15\", \"hi4\");\nlist.Insert(\"16\", \"hi5\");\nlist.Insert(\"17\", \"hi6\");\nlist.Insert(\"18\", \"hi7\");\nlist.Insert(\"19\", \"hi8\");\nlist.Insert(\"20\", \"hi9\");\nlist.Insert(\"21\", \"hi10\");\n\nconsole.log(list.Search(\"10\"));\nconsole.log(list.Print());\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhua1995116%2Flru-node-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhua1995116%2Flru-node-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhua1995116%2Flru-node-addon/lists"}