{"id":16818618,"url":"https://github.com/rubiin/memoize","last_synced_at":"2026-05-20T03:31:45.439Z","repository":{"id":92303009,"uuid":"262844484","full_name":"rubiin/memoize","owner":"rubiin","description":"A simple and easy to use memoize lib for deno","archived":false,"fork":false,"pushed_at":"2020-05-10T17:56:39.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T23:50:02.233Z","etag":null,"topics":["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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubiin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["rubiin"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.buymeacoffee.com/XbgWxt567"]}},"created_at":"2020-05-10T17:55:23.000Z","updated_at":"2020-06-11T15:03:24.000Z","dependencies_parsed_at":"2023-03-13T17:29:44.959Z","dependency_job_id":null,"html_url":"https://github.com/rubiin/memoize","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/rubiin%2Fmemoize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiin%2Fmemoize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiin%2Fmemoize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiin%2Fmemoize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubiin","download_url":"https://codeload.github.com/rubiin/memoize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244045493,"owners_count":20388949,"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":["deno","typescript"],"created_at":"2024-10-13T10:50:41.234Z","updated_at":"2026-05-20T03:31:40.393Z","avatar_url":"https://github.com/rubiin.png","language":"TypeScript","funding_links":["https://github.com/sponsors/rubiin","https://www.buymeacoffee.com/XbgWxt567"],"categories":[],"sub_categories":[],"readme":"## Usage\n\n```js\n\nconst add = (a, b) =\u003e a + b;\nconst memoizedFn = memoize(add);\n\nmemoizedFn(1, 2); // 3\n\nmemoizedFn(1, 2); // 3\n// Add function is not executed: previous result is returned\n\nmemoizedFn(2, 3); // 5\n// Add function is called to get new value\n\nmemoizedFn(2, 3); // 5\n// Add function is not executed: previous result is returned\n\nmemoizedFn(1, 2); // 3\n// Add function is called to get new value.\n// While this was previously cached,\n// it is not the latest so the cached result is lost\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubiin%2Fmemoize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubiin%2Fmemoize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubiin%2Fmemoize/lists"}