{"id":15653732,"url":"https://github.com/casperiv0/pastebin-api","last_synced_at":"2025-10-11T11:31:45.941Z","repository":{"id":37098044,"uuid":"341463462","full_name":"casperiv0/pastebin-api","owner":"casperiv0","description":"A very simple pastebin npm package to interact with the pastebin api!","archived":false,"fork":false,"pushed_at":"2024-07-29T22:23:38.000Z","size":985,"stargazers_count":28,"open_issues_count":7,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T00:12:58.666Z","etag":null,"topics":["hastebin","npm-package","pastebin","pastebin-api"],"latest_commit_sha":null,"homepage":"https://www.npm.im/pastebin-api","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/casperiv0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":["dev-caspertheghost"]}},"created_at":"2021-02-23T07:17:08.000Z","updated_at":"2024-05-02T13:23:53.000Z","dependencies_parsed_at":"2023-08-17T12:40:56.465Z","dependency_job_id":"2e2404b6-6042-44e1-9dd2-11a31008ebc3","html_url":"https://github.com/casperiv0/pastebin-api","commit_stats":null,"previous_names":["casperiv0/pastebin-api","dev-caspertheghost/pastebin-api"],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperiv0%2Fpastebin-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperiv0%2Fpastebin-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperiv0%2Fpastebin-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casperiv0%2Fpastebin-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casperiv0","download_url":"https://codeload.github.com/casperiv0/pastebin-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236088932,"owners_count":19093025,"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":["hastebin","npm-package","pastebin","pastebin-api"],"created_at":"2024-10-03T12:46:47.425Z","updated_at":"2025-10-11T11:31:40.611Z","avatar_url":"https://github.com/casperiv0.png","language":"TypeScript","readme":"# pastebin-api\n\n![License](https://img.shields.io/github/license/casperiv0/pastebin-api)\n![Downloads](https://img.shields.io/npm/dw/pastebin-api)\n\nA very simple npm package to interact with the pastebin api.\n\n**Features**\n\n- Create pastes with all the available API data\n- Fetch the raw contents of a paste\n- Fetch pastes from the authenticated user via a user login\n- Delete pastes from the authenticated user via a user login\n\n## Installation\n\n```bash\n# npm\nnpm install pastebin-api\n\n# Yarn\nyarn add pastebin-api\n\n# pnpm\npnpm add pastebin-api\n```\n\n\u003e **Note** \u003e `pastebin-api` requires node.js version 14 or higher.\n\n## Usage\n\n```js\n// src/main.js\nimport { PasteClient, Publicity, ExpireDate } from \"pastebin-api\";\n// const { PasteClient, Publicity, ExpireDate } = require(\"pastebin-api\"); // using CommonJS\n\n// Tip: load dev key from a `.env` file\nconst client = new PasteClient(\"DEV_KEY_HERE\");\n\n/* ... */\n```\n\n## Documentation\n\n[You can checkout the documentation here](docs/README.md)\n\n## Support\n\nAll stars/forks are appreciated! ⚡\n\nFeel free to open a pull request with a new feature.\n\nMade with ❤️ and TypeScript!\n\n## License\n\n[MIT © Casper Iversen](./LICENSE)\n","funding_links":["https://github.com/sponsors/dev-caspertheghost"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasperiv0%2Fpastebin-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasperiv0%2Fpastebin-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasperiv0%2Fpastebin-api/lists"}