{"id":18886803,"url":"https://github.com/optionsx/hastebin_deno","last_synced_at":"2026-02-23T19:30:17.217Z","repository":{"id":253411600,"uuid":"608430735","full_name":"optionsx/hastebin_deno","owner":"optionsx","description":"https://deno.land/x/hastebin","archived":false,"fork":false,"pushed_at":"2023-06-26T14:09:29.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T05:17:04.388Z","etag":null,"topics":["deno","hastebin"],"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/optionsx.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}},"created_at":"2023-03-02T02:00:23.000Z","updated_at":"2023-06-02T18:27:29.000Z","dependencies_parsed_at":"2024-08-16T15:16:41.134Z","dependency_job_id":"50dde535-23d2-4ff0-a6a9-37e1ac3725c6","html_url":"https://github.com/optionsx/hastebin_deno","commit_stats":null,"previous_names":["optionsx/hastebin_deno"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optionsx%2Fhastebin_deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optionsx%2Fhastebin_deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optionsx%2Fhastebin_deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/optionsx%2Fhastebin_deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/optionsx","download_url":"https://codeload.github.com/optionsx/hastebin_deno/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859566,"owners_count":19708861,"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","hastebin"],"created_at":"2024-11-08T07:30:55.001Z","updated_at":"2026-02-23T19:30:17.147Z","avatar_url":"https://github.com/optionsx.png","language":"TypeScript","readme":"# [Hastebin for Deno ](https://deno.land/x/hastebin)\n```bash\ndeno run --allow-net https://deno.land/x/hastebin/example.ts\n```\n### Example code\n```TS\nimport hasteBin from \"https://deno.land/x/hastebin/mod.ts\";\n\nconst theCode = `type type = {\n    accessToken: string;\n    sessionToken: string;\n    refresh: number;\n  };\n  const getNewToken = async (\n    e: string,\n    p: string,\n  ): Promise\u003ctype\u003e =\u003e {\n    return (await axios.post(\n      \"https://c1dfd63b-9ba9-44e6-ba03-5234352754b4.id.repl.co/login\",\n      { email: e, password: p, headers: { \"Content-Type\": \"application/json\" } },\n    )).data;\n  };\n  \n  const e: type = await getNewToken(\n    \"e@d.c\",\n    \"p\",\n  );\n  console.log(e);`;\nconst type = \"ts\";\n\n\nconst link = await hasteBin(theCode, type); // type is optional\nconsole.log(link);\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptionsx%2Fhastebin_deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptionsx%2Fhastebin_deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptionsx%2Fhastebin_deno/lists"}