{"id":15155360,"url":"https://github.com/afeiship/next-arraybuffer2url","last_synced_at":"2026-01-20T20:33:31.287Z","repository":{"id":57122626,"uuid":"384292191","full_name":"afeiship/next-arraybuffer2url","owner":"afeiship","description":"Array buffer to blob url.","archived":false,"fork":false,"pushed_at":"2021-07-09T01:58:51.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T14:19:11.088Z","etag":null,"topics":["array","arraybuffer","blob","buffer","next","url"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-09T01:47:34.000Z","updated_at":"2021-07-09T01:58:54.000Z","dependencies_parsed_at":"2022-08-24T14:59:30.958Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-arraybuffer2url","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/next-arraybuffer2url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-arraybuffer2url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-arraybuffer2url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-arraybuffer2url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-arraybuffer2url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-arraybuffer2url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-arraybuffer2url/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["array","arraybuffer","blob","buffer","next","url"],"created_at":"2024-09-26T18:20:35.339Z","updated_at":"2026-01-20T20:33:31.273Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-arraybuffer2url\n\u003e Array buffer to blob url.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-arraybuffer2url\n```\n\n## usage\n```js\nimport '@jswork/next-arraybuffer2url';\n\nconst xhrOverride = new XMLHttpRequest();\nxhrOverride.responseType = 'arraybuffer';\n$.ajax({\n  url: '/url/of/your/binary/data',\n  method: 'GET',\n  xhr: function() {\n      return xhrOverride;\n  }\n}).then(function (responseData) {\n  const url = nx.arraybuffer2url(responseData);\n\n  // \u003cimg src={url} /\u003e\n});\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-arraybuffer2url/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-arraybuffer2url\n[version-url]: https://npmjs.org/package/@jswork/next-arraybuffer2url\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-arraybuffer2url\n[license-url]: https://github.com/afeiship/next-arraybuffer2url/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-arraybuffer2url\n[size-url]: https://github.com/afeiship/next-arraybuffer2url/blob/master/dist/next-arraybuffer2url.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-arraybuffer2url\n[download-url]: https://www.npmjs.com/package/@jswork/next-arraybuffer2url\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-arraybuffer2url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-arraybuffer2url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-arraybuffer2url/lists"}