open-index/open-npm huggingface dataset:
npm package: @risu729/tsconfigs
Description: This repository is for [tsconfig presets](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) to be used in my projects.
Author: risu729
Latest version: 2.0.0

# Risu's tsconfigs

This repository is for [tsconfig presets](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) to be used in my projects.

## Usage

### Install

```bash
bun add --save-dev @risu729/tsconfigs
```

### Configuration

Add the following to your `tsconfig.json` file:

```json
{
	"extends": ["@risu729/tsconfigs/bundler"]
}
```

or if you use tsc to transpile your code:

```json
{
	"extends": ["@risu729/tsconfigs/tsc"]
}
```
npm package: @risy/nestjs-rate-limiter
Description: A rate limiter for NestJS
Author: Risy
Latest version: 1.0.0

# Nestjs Rate Limiter

Nestjs Rate Limiter is a module for Nestjs that provides a rate limiter for Express, Fastify, Microservice, ExpressGraphql, and FastifyGraphql.

## Installation

```bash
$ npm install --save @risy/nestjs-rate-limiter
```

## Basic Usage

> app.module.ts
```typescript
import { RateLimiterModule } from '@risy/nestjs-rate-limiter';

@Module({
    imports: [
        RateLimiterModule.forRoot({
            framework: 'Express',
            keyPrefix: 'global',
            points: 10, // 10 requests
            duration: 60, // per 1 minute by IP
            errorMessage: 'Too many requests, please try again later.',
            logger: true,
            redis: {
                host: 'localhost',
                port: 6379,
            }
        })
    ],
})

export class AppModule  {}
```

## Use For All Routes
> app.module.ts
```typescript
import { RateLimiterModule } from '@risy/nestjs-rate-limiter';

@Module({
    imports: [
        RateLimiterModule.forRoot({
            ...
        })
    ],
    providers: [
        {
            provide: APP_GUARD,
            useClass: RateLimiterGuard
        }
    ]
})
```

## Use Guard

> app.controller.ts

```typescript
import { Controller, Get } from '@nestjs/common';
import { UseGuards } from '@nestjs/common/decorator';
import { RateLimiterGuard } from '@risy/nestjs-rate-limiter';

@Controller()
export class AppController {
  @UseGuards(RateLimiterGuard)
  @Get()
  getHello() {
    return 'Hello World!';
  }
}
```

## Use Decorator For Specific Routes
> app.controller.ts
```typescript
import { Controller, Get } from '@nestjs/common';
import { RateLimiter, RateLimiterGuard } from '@risy/nestjs-rate-limiter';

@Controller()
@RateLimiter({ keyPrefix: 'my-controller', points: 5, duration: 60, errorMessage: 'Too many requests, please try again later.' })
export class AppController {
  @UseGuards(RateLimiterGuard)
  @Get()
  getHello() {
    return 'Hello World!';
  }
}
```

## Options
```typescript
export interface RateLimiterOptions {
    framework: 'Express' | 'Fastify' | 'Microservice' | 'ExpressGraphql' | 'FastifyGraphql'
    redis?: {
        host: string
        port: number
    }
    keyPrefix?: string
    points: number
    duration: number
    errorMessage?: string
    logger?: boolean
}
```
npm package: @rit-sse/calendar
Description: A react calendar component for the SSE website sse.rit.edu
Author: Wade Mauger
Latest version: 1.0.0

# SSE Calendar

A calendar react component for the [SSE website](http://sse.rit.edu) & a boilerplate for getting started making a distributable react component

## Getting Started

- You will need Node `>= v8.11.1` installed
- `git clone <url>`
- `cd <path-to-sse-calendar>`
- `npm i`
- run `npm run dev` to open a webpage in your browser
- run `npm run prod` to build the component to the `/build` directory
npm package: @ritabazouny/npm-component-test
Description: just a component package
Author: component
Latest version: 1.2.9

# First name last name component

A first name and last name and button. This is just a test library.

echo "# npmComponent" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/RitaTeelaunch/npmComponent.git
git push -u origin main

git remote add origin https://github.com/RitaTeelaunch/npmComponent.git
git branch -M main
git push -u origin main
npm package: @ritamoe/kient
Description: <h1 align="center"> Kient </h1>
Latest version: 2.2.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<h1 align="center">
Kient
</h1>

<p align="center">
  <a href="https://github.com/zSoulweaver/kient/blob/master/LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-blue.svg?&color=47ff47&style=for-the-badge">
  </a>
  <a href="https://www.npmjs.com/package/kient">
    <img src="https://img.shields.io/npm/v/kient.svg?logo=npm&color=47ff47&logoColor=fff&style=for-the-badge">
  </a>
  <a href="https://kient.pages.dev/">
    <img src="https://img.shields.io/badge/Documentation-fff?style=for-the-badge">
  </a>
</p>

## About

Kient (**K**ick-Cl**ient**) is a versatile TypeScript library designed to simplify interaction with Kick's API and Webhooks. With Kient, you can seamlessly integrate Kick's platform into your projects, making it easier than ever to leverage its capabilities.

## Documentation

Learn how to use Kient and find detailed information on the [website](https://kient.pages.dev/) - Very much WIP.

## Installation and Example Usage

Install Kient with your preferred package manager.

```bash
$ bun add kient
```

Import Kient, create a new instance, and interact with API endpoints or listen to WebSocket events.

```ts
import { env } from 'bun'
import { Kient } from 'kient'

// Create a new kient instance
const kient = new Kient()

// Set the authentication token
kient.setAuthToken(env.KICK_TOKEN as string)

// Get the currently authorised user
const currentUser = await kient.api.channel.getAuthorisedUser()
// Log the raw output
console.log(currentUser.raw)

// Retrieve multiple channels by their ID
const multipleUsers = await kient.api.channel.getByIds([1, 2, 3])

// Send a chat message to the first channel in the above list as the authenticated user
await kient.api.chat.send({
	type: 'user',
	message: 'Message will be send to specified user id below',
	userId: multipleUsers[0].id,
})
```

## License

Kient is licensed under the [MIT License](https://github.com/zSoulweaver/kient/blob/master/LICENSE).
npm package: @ritchiefu/rate-my-professors
Description: a basic wrapper for Rate My Professors's GraphQL API with reviews
Author: Max Isom
Latest version: 3.1.0

# 🧑‍🏫 @ritchiefu/rate-my-professors

A basic wrapper for Rate My Professors's GraphQL API forked from @mtucourses/rate-my-professors. Includes TypeScript definitions.

This version allows users to get data on teachers within a certain department (ex: Engineering, Biology, Humanities, etc.)
The GraphQL queries are the same as the ones on RateMyProfessors and the amount of data returned can be large.

## 🏗 Usage

```js
// Change to 
// const ratings = require('@ritchiefu/rate-my-professors').default;
// if using JS instead of TS
import ratings from '@ritchiefu/rate-my-professors';

const variables = {
  "query": {
      "text": "",
      "schoolID": GONZAGA_ID,
      "fallback": true,
      "departmentID": GONZAGA_DEPARTMENT_ID.business
  },
  "schoolID": GONZAGA_ID
}

// id of professor Scott Coble at Gonzaga University
const teacher_variables = {
  "id": "VGVhY2hlci0zNjc5Mw=="
}

(async () => {

  const page = await ratings.getAllProfessorsInDepartment(variables);

  console.log(page);
  // {
  //     school: {
  //       __typename: 'School',
  //       id: 'U2Nob29sLTM3MA==',
  //       name: 'Gonzaga University',
  //     },
  //     search: {
  //       teachers: {
  //         didFallback: false,
  //         edges: [
  //           {
  //             cursor: 'YXJyYXljb25uZWN0aW9uOjA=',
  //             node: {
  //               __typename: 'Teacher',
  //               avgDifficulty: 3.1,
  //               avgRating: 2.9,
  //               department: 'Business',
  //               firstName: 'Will',
  //               id: 'VGVhY2hlci05OTU4NQ==',
  //               isSaved: false,
  //               lastName: 'Terpening',
  //               legacyId: 99585,
  //               numRatings: 17,
  //               school: {
  //                 id: 'U2Nob29sLTM3MA==',
  //                 name: 'Gonzaga University',
  //               },
  //               wouldTakeAgainPercent: -1,
  //             },
  //           },
  // Shows 8 professors for first query.

  const teacher = await ratings.getTeacher(teacher_variables);

  console.log(teacher);
  // see e2e.ts.md snapshot for output. 

})();
```

## 🧰  Development

```bash
# First:
# install dependencies
yarn install

# then:
# build in watch mode
yarn build:watch

# and you can:

# run tests
yarn test

# run tests in watch mode
yarn test:watch
```

To publish a new package version, run `npm version [patch|minor|major]` and then `git push && git push --tags` on the master branch.
npm package: @ritecorp/riteforms
Description: A low-code form builder SDK for React, Vue, and Svelte
Author: RiteCorp Team
Latest version: 2.0.0

# riteforms

SDK for low-code form builder workflows

A powerful low-code form builder SDK that supports Vue, React, and Svelte. Create dynamic forms with conditional logic, validation, and auto-grading capabilities.

## Features

- 🎨 Drag-and-drop form builder interface
- 🔄 Conditional form fields
- ✅ Built-in validation
- 📊 Auto-grading system
- 🎯 Multiple framework support (Vue, React, Svelte)
- 🎨 Customizable themes
- 📱 Responsive design

## Installation

```bash
npm install @ritecorp/riteforms
```

## Quick Start

### 1. Initialize RiteForms SDK

First, initialize the SDK with your API key:

```typescript
import { initializeRiteForms } from '@ritecorp/riteforms';

// Initialize with your API key
initializeRiteForms({
  apiKey: 'your-api-key-here',
  baseUrl: 'https://your-backend-url.com/api', // Optional, defaults to localhost:3000
  onAuthChange: (user) => {
    console.log('Authentication changed:', user);
  }
});
```

### 2. Use Form Components

```typescript
import { FormBuilder, FormRenderer } from '@ritecorp/riteforms/react';

// In your React component
function MyFormBuilder() {
  const handleFormSave = (form) => {
    console.log('Form saved:', form);
  };

  return (
    <FormBuilder 
      onFormSave={handleFormSave}
      initialConfig={{
        title: 'My New Form',
        sections: []
      }}
    />
  );
}
```

## Framework Support

### React

```tsx
import { FormBuilder } from '@ritecorp/riteforms/react';

function App() {
  return <FormBuilder />;
}
```

### Vue

```vue
import { FormBuilder } from '@ritecorp/riteforms/vue'; export default { components: { FormBuilder } }
```

### Svelte

```svelte
import { FormBuilder } from '@ritecorp/riteforms/svelte';

<FormBuilder />
```

## Documentation

For detailed documentation, please visit our [documentation site](https://docs.riteforms.com).

## Contributing

We welcome contributions! Please see our [contributing guide](CONTRIBUTING.md) for details.

## License

MIT
npm package: @rithmi/eslint-config-rithmi
Description: Configuración de ESLint y Prettier de Rithmi
Author: Manuel Tejada
Latest version: 1.5.8

# ESLint and Prettier Config


[![npm version](https://badge.fury.io/js/%40rithmi%2Feslint-config-rithmi.svg)](https://badge.fury.io/js/%40rithmi%2Feslint-config-rithmi)

## Installing

Before installing this package, make sure the project has a `package.json` file.

You can install everything needed by this config by running the following command.

```
npx install-peerdeps --dev eslint-config-rithmi
```

Create a `.eslintrc` file in the root of the project's directory (where the `package.json` file is). The `.eslintrc` file should look like this:

```
{
  "extends": [
    "@rithmi/eslint-config-rithmi"
  ]
}
```

## Integrate with VS Code

If you are using VS Code, you can use follow these instructions to configure the editor to lint and fix the code automatically.

1. Install de [ESLint Package](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
2. Add the following VS Code settings on the editor's `settings.json` file:

```
"editor.formatOnSave": true,
// turn it off for JS, we will do this via eslint
"[javascript]": {
  "editor.formatOnSave": false
},
"[typescript]": {
  "editor.formatOnSave": false
},
"[typescriptreact]": {
  "editor.formatOnSave": false
},
// tell the ESLint plugin to run on save
"eslint.autoFixOnSave": true,
// Optional BUT IMPORTANT: If you have the prettier extension enabled for other languages like CSS and HTML, turn it off for JS since we are doing it through Eslint already
"prettier.disableLanguages": [
  "js"
],
```
npm package: @rithvik7/devtune
Description: Enterprise-grade Spotify playback control interface for developers.
Latest version: 1.6.3

# Tune CLI - Specification and Documentation

Tune CLI is a professional-grade command-line interface designed for managing Spotify playback within a terminal-centric development workflow. It provides a low-latency interface to the Spotify Web API, optimized for efficiency and minimal system resource consumption.

## Technical Foundations

- **Runtime**: Node.js
- **Language**: TypeScript
- **Architecture**: Modular Service-based Pattern
- **Authentication**: OAuth2 with PKCE (Proof Key for Code Exchange)

## Installation Guide

To provision the CLI globally on your system, execute the following command:

```bash
npm install -g @rithvik7/devtune
```

## Authentication

Tune CLI utilizes a secure authentication mechanism that does not require the manual provisioning of client secrets.

1. Execute `tune login`.
2. Authorize the application via the secure browser redirect.
3. The CLI will automatically receive and persist the access and refresh tokens locally.

## Command Reference

### Playback Execution
- `tune play <song...>`: Search for and immediately play specific tracks.
- `tune pause`: Suspend the current playback session.
- `tune toggle`: Switch between play and pause states.
- `tune next`: Skip to the succeeding track in the queue.
- `tune prev`: Return to the preceding track.

### State Management
- `tune status`: Retrieve a detailed report of the current playback state, including track metadata.
- `tune volume <0-100>`: Adjust the primary output volume of the active device.
- `tune devices`: List all available and active Spotify-compatible devices.

### Queue Management
- `tune queue <song...>`: Append a track to the existing playback queue.
- `tune queue-list`: Display the upcoming 10 tracks in the current session.

### Environmental Configurations
- `tune focus`: Activate the pre-configured Deep Work playlist.
- `tune hype`: Activate the pre-configured High Tempo playlist.

## Advanced Configuration

The application persists settings at `~/.tune/config.json`.

### Custom Environmental Overrides
Users may override the default focus and hype playlists by providing a Spotify Playlist URI:

```bash
tune config set focus spotify:playlist:<playlist-id>
tune config set hype spotify:playlist:<playlist-id>
```

### Custom Client Integration
To use isolated rate-limiting or private developer credentials:

```bash
tune config set clientId <your-client-id>
```

## Security Compliance

- **PKCE Implementation**: Ensures secure code exchange without exposing a client secret.
- **Local Persistence**: Sensitive data is stored exclusively on the user's filesystem.
- **Credential Safety**: Authentication occurs via official Spotify accounts; passwords are never visible to the application.

---

---

**Keywords**: spotify, cli, terminal, music, playback, developer-tools, workflow, productivity, typescript

**License**: MIT
**Author**: Rithvik Shetty
npm package: @rithviknishad/firechat
Description: Add chat functionality to your react app with firebase realtime database.
Author: Rithvik Nishad
Latest version: 1.2.6

# firechat

> Add chat functionality to your react app with firebase realtime database.

[![NPM](https://img.shields.io/npm/v/firechat.svg)](https://www.npmjs.com/package/firechat) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save firechat
```

## Usage

```tsx
import * as React from 'react'

import { useMyHook } from 'firechat'

const Example = () => {
  const example = useMyHook()
  return (
    <div>
      {example}
    </div>
  )
}
```

## License

MIT © [rithviknishad](https://github.com/rithviknishad)

---

This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).