open-index/open-npm huggingface dataset:
npm package: @mrlol/web.cli
Description: A command line interface to init your web project with different frameworks.
Author: MrlolDev
Latest version: 0.0.9

[![npm package](https://nodei.co/npm/@mrlol/web.cli.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/@mrlol/web.cli)
# web.cli &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/MrlolDev/web.cli/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@mrlol/web.cli.svg?style=flat)](https://www.npmjs.com/package/@mrlol/web.cli)  [![npm downloads](https://img.shields.io/npm/dt/@mrlol/web.cli.svg?style=flat)](https://www.npmjs.com/package/@mrlol/web.cli)
[Spanish Docs](https://github.com/MrlolDev/web.cli/blob/main/LEEME.md)

A command line interface to init your web project with different frameworks.

# Installation
### With NPM
```
$ npm i @mrlol/web.cli -g
```
### With Yarn
```
$ yarn add @mrlol/web.cli -g
```
# Usage
## Init your project
When you install **web.cli** you only need to run the command `web`. After that it will ask you some questions to create your project. It can take a few minutes to create your project.
```
$ web
```
## Get and delete configs
You can get the configs you have saved. And you can also delete them.
```
$ web-configs
```

# Available frameworks
If you want to suggest a new framework, please open an issue on [Github](https://github.com/MrlolDev/web.cli/issues). Or fork the [project repo](https://github.com/MrlolDev/web.cli) and create a pull request.

## Frontend frameworks
1. [React](https://reactjs.org/)
2. [Vue](https://vuejs.org/)
3. [Angular](https://angular.io/)
5. [Next](https://nextjs.org/)

## Backend frameworks
1. [Express](https://expressjs.com/)
2. [Koa](https://koajs.com/)
3. [Fastify](https://fastify.io/)
4. [Nest](https://nestjs.com/)

## App frameworks
1. [React Native](https://reactnative.dev/)
2. [Ionic](https://ionicframework.com/)
3. [Electron](https://electronjs.org/)
npm package: @mrlowlevel/tiktoken-node
Description: tiktoken is a fast [BPE](https://en.wikipedia.org/wiki/Byte_pair_encoding) tokeniser for use with OpenAI's models.
Latest version: 0.0.8

# ⏳ tiktoken-node

tiktoken is a fast [BPE](https://en.wikipedia.org/wiki/Byte_pair_encoding) tokeniser for use with
OpenAI's models.

```js
const tiktoken = require('tiktoken-node')
let enc = tiktoken.getEncoding("gpt2")
console.assert(enc.decode(enc.encode("hello world")) == "hello world")

// To get the tokeniser corresponding to a specific model in the OpenAI API:
enc = tiktoken.encodingForModel("text-davinci-003")
```

The open source version of `tiktoken-node` can be installed from npm:
```
npm install tiktoken-node
```
npm package: @mrlvn/easy-dl
Description: A simple downloader wrapper for yt-dlp and ffmpeg, with Node.js and Bun support.
Author: iMrlvn
Latest version: 0.0.5

# easy-dl

[![npm version](https://img.shields.io/npm/v/@mrlvn/easy-dl)](https://www.npmjs.com/package/@mrlvn/easy-dl) [![npm downloads](https://img.shields.io/npm/dm/@mrlvn/easy-dl)](https://www.npmjs.com/package/@mrlvn/easy-dl)

A simple and flexible library downloader for audio and video using [**yt-dlp**](https://github.com/yt-dlp/yt-dlp) and [**ffmpeg**](https://ffmpeg.org).  
Supports both [**Node.js**](https://nodejs.org) and [**Bun**](https://bun.com).

## 📦 Installation
Using NPM
```bash
npm install @mrlvn/easy-dl
```
Using BUN
```bash
bun add @mrlvn/easy-dl
```

## 🚀 Usage
CommonJS
```js
const { download } = require("@mrlvn/easy-dl");
```
ESModule or TypeScript
```ts
import { download } from "@mrlvn/easy-dl";
```

## 📚 Examples
```ts
import { download } from "@mrlvn/easy-dl";
import { writeFileSync } from "node:fs";

(async () => {
    // Example 1: Audio as Buffer
    const audioBuffer = await download("https://youtu.be/dQw4w9WgXcQ", { mode: "audio" });

    // Save the audio buffer to file
    if (audioBuffer) {
        writeFileSync("rickroll.mp3", audioBuffer);
        console.log("Audio buffer saved to rickroll.mp3");
    }

    // Example 2: Video to File
    await download("https://youtu.be/dQw4w9WgXcQ", {
        mode: "video",
        output: "rickroll.mp4"
    });

    // Example 3: Audio with custom yt-dlp / ffmpeg args
    await download("https://www.youtube.com/watch?v=dQw4w9WgXcQ", {
        mode: "audio",
        output: "rickroll_custom.mp3",
        // using cookies if needed, read more https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp
        ytdlpArgs: ["--cookies", "/path/to/cookies.txt"],
        /*
        * -ar = samplerate
        * -ab = bitrate
        */
        ffmpegArgs: ["-ar", "48000", "-ab", "256k"]
    });
})();
```

## ⚙️ Options (`DownloadOptions`)
| Option       | Type                     | Default   | Description |
|--------------|--------------------------|-----------|-------------|
| `mode`       | `"audio"` \| `"video"`   | `"audio"` | Choose whether to download audio or video. |
| `format`     | `string?`                | auto      | Output format (`mp3`, `mp4`, `flac`, etc). |
| `quality`    | `string?`                | `best`    | Quality setting (e.g. `0`, `1080p`, `best`). |
| `output`     | `string?`                | `undefined` | If provided, saves output to this file. If omitted, returns a `Buffer`. |
| `ytdlpArgs`  | `string[]?`              | `[]`      | Extra arguments to pass to yt-dlp. [Click here, for more options.](https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#usage-and-options) |
| `ffmpegArgs` | `string[]?`              | `[]`      | Extra arguments to pass to ffmpeg. [Click here, for more options.](https://ffmpeg.org/ffmpeg.html#Options) |

## 📜 License
This project is licensed under the **MIT License**.  
See the [LICENSE](./LICENSE) file for details.
npm package: @mrmakeit/hubot-cron-auth
Description: Cron job messaging for hubot
Author: Blixa Morgan
Latest version: 0.0.1

# hubot-cron

hubot-cron adds a cronjob system to hubot to schedule messages on a specific date and time.

## Installation

Add `hubot-cron` to your package.json, run `npm install` and add hubot-cron to `external-scripts.json`.

Add hubot-cron to your `package.json` dependencies.

```
"dependencies": {
  "hubot-cron": ">= 0.1.0"
}
```

Add `hubot-cron` to `external-scripts.json`.

```
> cat external-scripts.json
> ["hubot-cron"]
```

If you want to specify timezones, you'll need to install the [time](https://github.com/TooTallNate/node-time) module or place an entry for it in your package.json file.

    npm install time

## Usage

```
miyagawa> hubot new job 0 9 * * 1-5 "Good morning everyone!"
hubot> Job 12345 created

miyagawa> hubot list jobs
hubot> (list of jobs)

miyagawa> hubot rm job 12345
hubot> Job 12345 removed

miyagawa> hubot tz job 12345 America/Los_Angeles
hubot> Job 12345 updated to use America/Los_Angeles
```

You can use any [node-cron](https://github.com/ncb000gt/node-cron) compatible crontab format to schedule messages. Registered message will be sent to the same channel where you created a job.

To persist the cron job in the hubot restart, you're recommended to use redis to persist Hubot brain.

Timezones are specified in [tzdata format](https://en.wikipedia.org/wiki/Tz_database#Examples).

## See Also

`reminder.coffee` in hubot-scripts.