hashishin
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

Hashi

Hashi is a NPM package that wraps and implements features from Discord.js library. Including a command handler, an event handler, integrated database system, and more. Documentation link: (hashi.marikobot.com)[https://hashi.marikobot.com/]

Authors

Compatible with

We recommand using TypeScript to take benefits with all of our exported types that could simplify your programming experience. (Anyway, TypeScript is better :>)

License

MIT

Requirements

Node.js and a package manager (Yarn, PNPM, NPM) installed in your environment. We recommand using PNPM.

Installation

Simply run the command:

pnpm install hashi@latest

Creating a new version

First, let's build the package:

On Windows (burk):

.\scripts\build.bat ; git add .

On Linux/Mac (gigachad):

./scripts/build.sh && git add .

Secondly, let's box our files into a commit:

git commit -m "My message!"

Then, let's update the version:

npm version <patch|minor|major|prerelease --preid=devbuild>

Finally, let's publish the new version and push it to GitHub:

git push; npm publish; git push --tags

Well done!

Testing the code

To run the code placed into the lab/ folder, just run:

ts-node lab/lab.test.ts

(Don't forget to build just before running it.)

Used by

You? What are you waiting for?

Package Sidebar

Install

npm i hashishin

Weekly Downloads

3

Version

6.0.0

License

MIT

Unpacked Size

174 kB

Total Files

74

Last publish

Collaborators

  • elouannh