{"id":22505342,"url":"https://github.com/azer/memoize-async","last_synced_at":"2025-08-03T11:33:10.142Z","repository":{"id":7760221,"uuid":"9128323","full_name":"azer/memoize-async","owner":"azer","description":"Async Function Memoizer","archived":false,"fork":false,"pushed_at":"2014-01-29T12:57:50.000Z","size":168,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T07:52:02.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/azer.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":"2013-03-31T09:35:42.000Z","updated_at":"2021-12-16T14:15:19.000Z","dependencies_parsed_at":"2022-09-22T01:51:24.806Z","dependency_job_id":null,"html_url":"https://github.com/azer/memoize-async","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/azer/memoize-async","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fmemoize-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fmemoize-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fmemoize-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fmemoize-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/memoize-async/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fmemoize-async/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268537935,"owners_count":24266297,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-07T00:17:45.452Z","updated_at":"2025-08-03T11:33:09.901Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## memoize-async [![Build Status](https://travis-ci.org/azer/memoize-async.png)](https://travis-ci.org/azer/memoize-async)\n\nAsync function memoizer.\n\n### Install\n\n```bash\n$ npm install memoize-async\n```\n\n### Usage\n\n```js\nmemoize  = require('memoize-async')\nreadFile = require('fs').readFile\nmemoized = memoize(readFile)\n\nmemoized('docs/readme', console.log)\n// doing some work\n// =\u003e read me first!\n\nmemoized('docs/readme', console.log)\n// =\u003e read me first!\n```\n\n### Storage\n\nIt stores the values returned in an object by default. You can pass read \u0026 write methods to choose your own:\n\n```js\nmemoized = memoize(fn, { read: read, write: write, hash: ifexists })\n\nfunction read (key, callback) {\n}\n\nfunction write (key, value, callback) {\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fmemoize-async","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fmemoize-async","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fmemoize-async/lists"}