{"_id":"@cordxapp/pastes","_rev":"14-c965a86832c7213979fddc0535a5881d","time":{"created":"2023-09-03T03:23:20.929Z","1.0.0":"2023-09-02T11:54:01.586Z","modified":"2024-02-01T10:35:11.779Z","1.0.1":"2023-09-02T11:58:30.603Z","1.0.2":"2023-09-02T12:34:25.423Z","1.0.3":"2023-09-02T13:08:51.433Z","0.0.4":"2023-09-03T03:23:21.197Z","0.0.5":"2023-09-03T08:13:55.919Z","0.0.6":"2023-09-03T08:57:04.711Z","0.1.1":"2023-11-18T09:30:36.966Z","0.2.0":"2023-11-21T11:19:43.979Z","0.4.14":"2024-01-31T14:02:26.495Z","0.4.16":"2024-02-01T09:34:47.182Z","0.4.18":"2024-02-01T10:35:11.597Z"},"name":"@cordxapp/pastes","dist-tags":{"latest":"0.4.18"},"versions":{"0.0.4":{"name":"@cordxapp/pastes","version":"0.0.4","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","docs":"typedoc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/Pastes.git"},"bugs":{"url":"https://github.com/CordXApp/Pastes/issues"},"homepage":"https://cordxapp.github.io/Pastes/","dependencies":{"@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"8a3a0756d750686a10e09d745db1ac9e5afc8c10","_id":"@cordxapp/pastes@0.0.4","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-DXsEll7smWg8aZUaQp440bOSjkSyvTsLG9hVEj18vv6XmEO8gP042zlnMHd7ehtDLl2BYCuW5eTwWBYlwG4sxA==","shasum":"0d4e45f2ccebf8fa4e25247be59f1882bcc5e7b2","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.0.4.tgz","fileCount":13,"unpackedSize":9334,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3xAXkEpfL5MLHZR5BQIfDDJ4aKRIm09fWQN8lztH9RAIgTXbW9AmbYeL/OZLLgo9V/URLIFVee7uxmlDHWxQYROw="}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.0.4_1693711401036_0.06955899262341037"},"_hasShrinkwrap":false},"0.0.5":{"name":"@cordxapp/pastes","version":"0.0.5","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","docs":"typedoc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","dependencies":{"@cordxapp/request":"latest","@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"be2ec3a378afdf38fb2d0d0709f760978ec43f5b","_id":"@cordxapp/pastes@0.0.5","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-WDOL2Ypt/tLCXYP+37niXZLUAXI1oYZCtUs3RhrVUYRLNE+krzYj/BDAUtcSEqqsamcEX3BYv63QWUbLWwszfg==","shasum":"ec456b087f72649bb6fffb3408bd4d6453937af2","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.0.5.tgz","fileCount":12,"unpackedSize":8045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFGaKKhqyqQOPDnAEza834gBQML8NLYZ0BswDloqauogIgCsEfiDr2R+8r1TRTO8vGG4f1FLOF9v17qBOzQTGnYmQ="}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.0.5_1693728835737_0.3068282548112604"},"_hasShrinkwrap":false},"0.0.6":{"name":"@cordxapp/pastes","version":"0.0.6","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","docs":"typedoc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","dependencies":{"@cordxapp/request":"latest","@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"15384d25a5d0207a0b5e60e569efc858404c3776","_id":"@cordxapp/pastes@0.0.6","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-Vk2Clpy7DcKOdEkdbaPM3zgmTkqwcu7p91MsYfFfq6pY0k7d9VmaFpEOngcgDbwqMgl3/oVGGtbr99iNcV7Etg==","shasum":"135dbf2b09c3088d48bb32289bdf60998864aa79","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.0.6.tgz","fileCount":12,"unpackedSize":7060,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmzVfpSrZj//SNvusHTZeDsxjAnF1FppNMYSht2SvmNwIhAKvP1hX9DURlp5DHFxdqaomYq8lOUiZYHY8C5r9YFQ5U"}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.0.6_1693731424546_0.6691608555969859"},"_hasShrinkwrap":false},"0.1.1":{"name":"@cordxapp/pastes","version":"0.1.1","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","dependencies":{"@cordxapp/request":"latest","@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"c2ddfc1b8d26e790b13f50d6b7d2b8ad96a51c58","_id":"@cordxapp/pastes@0.1.1","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-RYAr1CdYsSPXQRMlOq6SPVUpiWPt8oUNXMgMFPMKOdLR1aFiQHHD3RUoVFTeu6m4/gvqU/+8OvCkTrNP0kGq9A==","shasum":"298ed4caf2c935c05bfc644c0a970c05fff03e3f","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.1.1.tgz","fileCount":12,"unpackedSize":7033,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASXUdPgA165W+xQbzJtg1wEEcEiB1O15xgQOC4LY6Z4AiAkG1smQ5Hvba7dEExE15QrviS7V7b8bBMcgdzPKq2RNQ=="}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.1.1_1700299836796_0.34587115220910003"},"_hasShrinkwrap":false},"0.2.0":{"name":"@cordxapp/pastes","version":"0.2.0","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","dependencies":{"@cordxapp/request":"latest","@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"89ed74019e77bd08f40f9b850d9814c694b060da","_id":"@cordxapp/pastes@0.2.0","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-3KwUuc6pFEmxpJ10PV0TsFAReZd3/b5j++I68liqNvMEjlrsGFk/WxUsKz75sJkT66yCgmXciPRL32twhvucRA==","shasum":"5408643e44a9c4615a923fa3a1cb0f3cc2572e52","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.2.0.tgz","fileCount":12,"unpackedSize":7669,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELoGdCRq4eLpy3rQsY/zPmiR/tVPjkFRz4C6mVto3vhAiEAjT08Pweo/E/QjIa2GSBI/rtSpKgc3OscLJTpWt46+ho="}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.2.0_1700565583746_0.28797114869924956"},"_hasShrinkwrap":false},"0.4.14":{"name":"@cordxapp/pastes","version":"0.4.14","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","dependencies":{"@cordxapp/request":"latest","@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"992d045da06870f0bf6423521820fdd75b412b1b","_id":"@cordxapp/pastes@0.4.14","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-xakMJLdlgzHEdAZEubhhIV88UY2IqC5X/HroD/m5zhykjrJRY1fBWQNFE5mhzU3rS+Y6PAcOxPIg0+01V3GH/g==","shasum":"856a6ae418a4ea39991fdf2135cab57437452a23","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.4.14.tgz","fileCount":12,"unpackedSize":7670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8g62RdtLKbW8gYqaIpfKdusF2mZAk2k8ckP3gpk3Z2AiAHEqIapqa7feIJQnHv2JbYddpTz33O82ii45LoM0cgiA=="}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.4.14_1706709746312_0.5055458836019677"},"_hasShrinkwrap":false},"0.4.16":{"name":"@cordxapp/pastes","version":"0.4.16","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","dependencies":{"@cordxapp/request":"latest","@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"324edb3cd05448c36a985e46ea613f76f6ff4ccb","_id":"@cordxapp/pastes@0.4.16","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-TmQAiAd7X7VozqTME4nWlkViebvzQEd7vyYu7iAal2WsdNutjoSM6eKyOHVy9mnjEtXxaRiogjCkYd53jrsjWg==","shasum":"9f02407f4120638fbf3b5be9e70ac8156b69d1cf","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.4.16.tgz","fileCount":12,"unpackedSize":7670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlex6uuABxiZRXFF8qoIFG5U3zYzvd0FvugVJKstSFAgIgWGo4qZzASrW8EkfBHDNPntGAQEpyx1YzdI2usVOEm/w="}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.4.16_1706780087033_0.26974302506045467"},"_hasShrinkwrap":false},"0.4.18":{"name":"@cordxapp/pastes","version":"0.4.18","description":"Official module for posting code snippets, text and more to our bin","main":"./dist/index.js","types":"./dist/index.d.ts","author":{"name":"Toxic Dev"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","test":"npm run test:all","test:all":"node ./tests/post.test.js && node ./tests/get.test.js && node ./tests/raw.test.js","test:post":"node ./tests/post.test.js","test:get":"node ./tests/get.test.js","test:raw":"node ./tests/raw.test.js"},"repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","dependencies":{"@cordxapp/request":"latest","@types/node":"^20.5.1","raw-body":"^2.5.2","typescript":"^5.1.6","undici":"^5.21.0"},"gitHead":"c1de3a43cba3229a07aa85c07032c69a29829428","_id":"@cordxapp/pastes@0.4.18","_nodeVersion":"18.17.0","_npmVersion":"lerna/7.2.0/node@v18.17.0+x64 (win32)","dist":{"integrity":"sha512-St+24u9q+Oi1cUcn63vvsqAW7mV+Qu4lp/+CKN+xjlMTLN+R+Ca9PJIafFRyX2i1DqT6VI/RYGRZyPwppvR30Q==","shasum":"90ecb9b80f553bb934b8943194cd61d8115f0a29","tarball":"https://registry.npmjs.org/@cordxapp/pastes/-/pastes-0.4.18.tgz","fileCount":12,"unpackedSize":41076,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB90T2enZIvgJSOe7R62QFQ8RLgatibAlg2AXir1Cvy7AiEAp+K3VTD5HBRPgqGev72YjSSlkJCgp3zLeCLVo43rGWc="}]},"_npmUser":{"name":"cordxapp","email":"cordxapp@gmail.com"},"directories":{},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pastes_0.4.18_1706783711430_0.4862004458297846"},"_hasShrinkwrap":false}},"maintainers":[{"name":"cordxapp","email":"cordxapp@gmail.com"}],"description":"Official module for posting code snippets, text and more to our bin","homepage":"https://cordxapp.github.io/node-sdk/modules/pastes_src.html","repository":{"type":"git","url":"git+https://github.com/CordXApp/node-sdk.git"},"author":{"name":"Toxic Dev"},"bugs":{"url":"https://github.com/CordXApp/node-sdk/issues"},"readme":"# CordX Pastes\r\nSimple module for posting and fetching code snippets, text and more to/from our bin.\r\n\r\n---\r\n\r\n## Documentation\r\n- [User Guides](https://help.cordx.lol/docs/npm/request)\r\n- [TypeDocs](https://cordxapp.github.io/node-sdk/modules/request_src.html)\r\n\r\n---\r\n\r\n## Install\r\n\r\n```\r\nnpm install @cordxapp/pastes\r\n```\r\n\r\n---\r\n\r\n## Imports\r\n\r\n### Commonjs\r\n\r\n```js\r\nconst { PasteClient } = require('@cordxapp/pastes');\r\n```\r\n\r\n### ES6\r\n```js\r\nimport { PasteClient } from '@cordxapp/pastes';\r\n```\r\n\r\n---\r\n\r\n## New paste\r\n\r\n```js\r\nimport {PasteClient} from '@cordxapp/pastes'\r\nconst pastes = new PasteClient();\r\n\r\nawait pastes.post('Some text sting or whatever you want here!')\r\n.then((r) => {\r\n\r\n    console.log(r);\r\n}).catch((e) => {\r\n\r\n    console.log(e.stack)\r\n});\r\n\r\n```\r\n\r\n---\r\n\r\n## Get paste\r\n\r\n```js\r\nimport {PasteClient} from '@cordxapp/pastes'\r\nconst pastes = new PasteClient();\r\n\r\nawait pastes.get('PASTE_KEY/ID_HERE')\r\n.then((r) => {\r\n\r\n    console.log(r.data);\r\n}).catch((e) => {\r\n\r\n    console.log(e.stack)\r\n});\r\n\r\n\r\n```\r\n\r\n---\r\n\r\n## Get raw\r\n\r\n```js\r\nimport {PasteClient} from '@cordxapp/pastes'\r\nconst pastes = new PasteClient();\r\n\r\nawait pastes.raw('PASTE_KEY/ID_HERE')\r\n.then((r) => {\r\n\r\n    console.log(r.code);\r\n}).catch((e) => {\r\n\r\n    console.log(e.stack)\r\n});\r\n\r\n```","readmeFilename":"README.md"}