An NPM Package helper to let you interact with your HexoShard database.
An easy external database for your small projects, like Discord bots! HexoDB is:
- Easy Connection
- Simple
- Fast read and writing data
If you're interested to get your own database, you may visit our site by clicking here
const Hexo = require("hexo-db");
const db = new Hexo.Database("https://db--username.repl.co")
db.set("foo", "bar")
.then(() => console.log("ID 'foo' is saved with the value 'bar'!"));
db.get("foo").then(data => {
console.log(data) // Logs 'bar'
});
- superagent - used to scrape your data!
- Glitch - HexoDB started out here!
- Repl.it - your HexoShard is hosted here!
Fizx - Initial work - Fizuku
This project is licensed under the Apache License 2.0 - see LICENSE.md for details.
You may contact me on Discord! (Fizx#5360)