open-index/open-npm huggingface dataset:
npm package: @hitomihiumi/discord-cards
Description: A simple module with out-of-the-box solutions for rank, profile and user greeting cards.
Author: hitomihiumi
Latest version: 1.0.1

<a href="https://www.npmjs.com/package/@hitomihiumi/discord-cards"><img src="https://img.shields.io/npm/v/@hitomihiumi/discord-cards.svg?maxAge=3600" alt="npm version" /></a>
<a href="https://www.npmjs.com/package/@hitomihiumi/discord-cards"><img src="https://img.shields.io/npm/dt/@hitomihiumi/discord-cards.svg?maxAge=3600" alt="npm downloads" /></a>
# Introduction
A simple module with out-of-the-box solutions for rank, profile and user greeting cards.

## Get Started

1. Install the module by using `npm i @hitomihiumi/discord-cards@latest`
2. Enjoy!

## Documentation

You can find the documentation [here](https://docs.hitomihiumi.xyz/)

## Example

```ts
import { RankCard, fonts } from "@hitomihiumi/discord-cards";
import * as fs from 'fs';

const card = new RankCard()
    .setAvatar('https://i.pinimg.com/1200x/f3/32/19/f332192b2090f437ca9f49c1002287b6.jpg')
    .setBackground('https://www.sumadhwaseva.com/wp-content/uploads/2013/10/Grey-Background-Website-Wallpapers-600x200.jpg')
    .setLevel(5)
    .setCurrentXp(100)
    .setNeededXp(200)
    .setProgressColor('#7289da')
    .setTextColor('#ffffff')
    .setStyle('base')
    .setName('Hitomi')
    .setFont(fonts.opensansBold);

async function main() {
    let canvas = await card.render();
    fs.writeFileSync('test.png', canvas);
}

main();
```

![](https://i.imgur.com/3Um8Ncc.png)

## Styles

Styles storage location [`discord-cards-styles`](https://github.com/hitomihiumi/discord-cards-styles/tree/master) repository. To load your own styles, create a pull-request.
npm package: @hitomihiumi/filewatcher
Description: A simple module that allows you to track changes in files of certain directories and certain extensions.
Author: hitomihiumi
Latest version: 0.1.1

# FileWatcher

[![npm version](https://badge.fury.io/js/%40hitomihiumi%2Ffilewatcher.svg)](https://www.npmjs.com/package/@hitomihiumi/filewatcher)
[![downloads](https://img.shields.io/npm/dm/%40hitomihiumi%2Ffilewatcher.svg)](https://www.npmjs.com/package/@hitomihiumi/filewatcher)

## Overview

FileWatcher is a Node.js utility that monitors file system changes in specified directories. It can detect file additions, modifications, and deletions, and allows you to set custom handlers for these events.

## Features

- Monitor multiple directories
- Set custom handlers for file events (add, change, unlink)
- Ignore specific directories
- Filter by allowed file extensions

## Installation

```sh
npm install @hitomihiumi/filewatcher
```

## Usage

```javascript
const FileWatcher = require('@hitomihiumi/filewatcher');

const watcher = new FileWatcher()
    .setAllowedExtensions('.js');

watcher.setHandler('./test', 'change', (dir, file, relativePath) => {
    console.log(`File ${file} changed at ${relativePath}`);
})
.setHandler('./test', 'add', (dir, file, relativePath) => {
    console.log(`File ${file} added at ${relativePath}`);
})
.setHandler('./test', 'unlink', (dir, file, relativePath) => {
    console.log(`File ${file} removed at ${relativePath}`);
});

watcher.setMonitoredDirectories('./test');

watcher.startWatching();
```

![FileWatcher](https://i.imgur.com/Z5wUnGw.png)
npm package: @hitomihiumi/micro-docgen
Description: Quick and easy documentation for typescript projects.
Author: hitomihiumi, twlite
Latest version: 0.4.2

# micro-docgen (Forked)

[![npm version](https://badge.fury.io/js/%40hitomihiumi%2Fmicro-docgen.svg)](https://badge.fury.io/js/%40hitomihiumi%2Fmicro-docgen)

[![downloads](https://img.shields.io/npm/dm/%40hitomihiumi%2Fmicro-docgen.svg)](https://www.npmjs.com/package/%40hitomihiumi%2Fmicro-docgen)

TypeScript documentation generator on steroids 💉. MicroDocgen is built on top of typedoc to leverage its power and add more features.

[Link to the original repository](https://github.com/neplextech/micro-docgen/tree/main)

## Installation

```sh
$ npm install @hitomihiumi/micro-docgen
```

## Usage

```js
import { createDocumentation } from '@hitomihiumi/micro-docgen';
import { name, version } from './package.json'; 
/* 
    ^
    | --- To use this, make sure you have the “resolveJsonModule” flag set to “true” inside your tsconfig.json
*/

await createDocumentation({
    // project name
    name,
    // project version
    version,
    // source files
    input: ['src'],
    // output directory
    output: 'docs',
    // tsconfig path
    tsconfigPath: './tsconfig.json',
    // to generate markdown files
    markdown: true,
    // to generate json file
    jsonName: 'docs.json',
    // include custom files such as readme
    custom: [...]
});
```