summaryrefslogtreecommitdiff
path: root/src/Hastebin.js
diff options
context:
space:
mode:
authorAlejandro W. Sior <aho@sior.be>2024-01-25 00:08:04 +0100
committerAlejandro W. Sior <aho@sior.be>2024-01-25 00:08:04 +0100
commita0a884ebed701f025434881a8c88bd9c28812567 (patch)
tree90187ef2fdf825d27819a45e279961daf16d85f2 /src/Hastebin.js
parent4eaca0632036c77fc0df7ebe84e530c62a349091 (diff)
remove dependenciesraccoon
Diffstat (limited to 'src/Hastebin.js')
-rw-r--r--src/Hastebin.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Hastebin.js b/src/Hastebin.js
deleted file mode 100644
index 1d7bae0..0000000
--- a/src/Hastebin.js
+++ /dev/null
@@ -1,6 +0,0 @@
-const superagent = require('superagent');
-
-module.exports = async function hastebin(text) {
- let res = await superagent.post('https://hasteb.in/documents').send(text);
- return JSON.parse(res.text).key;
-}; \ No newline at end of file