Skip to content

ghnigelofi/hexo-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-db

An NPM Package helper to let you interact with your HexoShard database.

What is HexoDB?

An easy external database for your small projects, like Discord bots! HexoDB is:

  • Easy Connection
  • Simple
  • Fast read and writing data

Getting Started

If you're interested to get your own database, you may visit our site by clicking here

Example

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'
});

Built with

  • superagent - used to scrape your data!
  • Glitch - HexoDB started out here!
  • Repl.it - your HexoShard is hosted here!

Authors

Fizx - Initial work - Fizuku

License

This project is licensed under the Apache License 2.0 - see LICENSE.md for details.

Support

You may contact me on Discord! (Fizx#5360)

About

The NPM Package helper for you to interact with your HexoShard on Glitch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published