{"id":20138331,"url":"https://github.com/pinax-network/substreams-core","last_synced_at":"2026-05-10T08:40:55.390Z","repository":{"id":166126071,"uuid":"641573729","full_name":"pinax-network/substreams-core","owner":"pinax-network","description":"Substreams ESM core utility library","archived":false,"fork":false,"pushed_at":"2023-05-16T21:33:25.000Z","size":527,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-13T09:46:46.768Z","etag":null,"topics":["graph","streamingfast","substreams","thegraph"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@substreams/core","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/pinax-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-05-16T18:56:23.000Z","updated_at":"2023-05-16T21:38:11.000Z","dependencies_parsed_at":"2024-07-19T04:21:04.002Z","dependency_job_id":null,"html_url":"https://github.com/pinax-network/substreams-core","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/pinax-network%2Fsubstreams-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinax-network%2Fsubstreams-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinax-network%2Fsubstreams-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinax-network%2Fsubstreams-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinax-network","download_url":"https://codeload.github.com/pinax-network/substreams-core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582552,"owners_count":19985845,"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":["graph","streamingfast","substreams","thegraph"],"created_at":"2024-11-13T21:37:27.487Z","updated_at":"2026-05-10T08:40:55.363Z","avatar_url":"https://github.com/pinax-network.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@substreams/core`\n\n\u003e Substreams ESM core utility library\n\nThis is a work in progress. Your mileage may vary.\n\n## Install\n\n```sh\nnpm install @substreams/core\n```\n\n**⚠️Warning:** This package is native [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules). If your project uses CommonJS, you'll have to [convert to ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) or use the [dynamic `import()`](https://v8.dev/features/dynamic-import) function. Please don't open issues for questions regarding CommonJS / ESM.\n\n## Usage\n\n```js\nimport { createSubstream } from \"@substreams/core\";\n\nexport async function fetchSubstream(url: string) {\n  const response = await fetch(url);\n  const blob = await response.blob();\n  const array = await blob.arrayBuffer();\n\n  return createSubstream(array);\n}\n```\n\n## Authors\n- [@fubhy](https://github.com/fubhy) (fubhy.eth, [Twitter](https://twitter.com/thefubhy))\n- [@DenisCarriere](https://github.com/DenisCarriere) ([Twitter](https://twitter.com/DenisCarriere))\n\n## License\n[MIT](/LICENSE) License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinax-network%2Fsubstreams-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinax-network%2Fsubstreams-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinax-network%2Fsubstreams-core/lists"}