open-index/open-npm huggingface dataset:
npm package: @juanvia/color
Description: TypeScript utility to work with RGB color. Work in progress.
Author: Juan V. Vía
Latest version: 0.1.6

# @juanvia/color

TypeScript utility to work with RGB color. Work in progress.

Supports extrapolating a color transformation from an array of samples, using the Least Squares method for obtaining the polynomials used in the extrapolating function.

## API

### `makeAdjusterFromSamples`

```ts
import { makeAdjusterFromSamples } from "@juanvia/color"

const samples = [
  [
    [240, 249, 222],
    [236, 244, 215],
  ],
  [
    [130, 188, 126],
    [109, 173, 111],
  ],
  // Note that many more than two examples are necessary for the extrapolation to be reliable
]

const degree = 2 // The degree of the polynomial used for approximating the samples
// The higher the degree, the more the precision, but also the more samples are required
// Too high a degree might lead to overfitting

const adjuster = makeAdjusterFromSamples(samples, degree)

adjuster([226, 172, 98]) // Outputs a color according to the extrapolation
```
npm package: @juanvp/typings-webpack
Description: TypeScript Definition for Webpack 2
Author: Juan Vidal Pich
Latest version: 2.1.6

# Installation
> `npm install --save @juanvp/typings-webpack`

# Summary
This package contains type definitions for Webpack 2.1 (http://lodash.com/).

# Details
 * File structure: MultipleModules
 * Library Dependencies: none
 * Module Dependencies: none
 * Global values: none

# Credits
These definitions were written by Juan Vidal Pich <https://github.com/juanevp>
npm package: @juanzenn/zen-utils
Description: A CLI tool for managing files and React projects
Author: Juan Alvarez
Latest version: 1.0.6

# zen-utils

Zen is a CLI tool built with node.js for simple task.

## Install

Install Zen on your local system:

```console
npm i -g @juanzenn/zen-utils
```

## Usage

| Command            | Description                                                             |
| ------------------ | ----------------------------------------------------------------------- |
| delete-empty-files | Delete all empty files on a project. Exclude `node_modules` by default. |

### Example

Delete all your empty files with just one command! Only follow the instructions.

```console
zen delete-empty-files
```
npm package: @jub3i/tree-kill
Description: kill trees of processes
Author: jub3i
Latest version: 0.0.15

# Tree Kill

Kill all processes in the process tree, including the root process.

This repo is a fork of [https://github.com/pkrumins/node-tree-kill](https://github.com/pkrumins/node-tree-kill)

Significant changes include:
- Included callback support, since this is an function with async internals [https://github.com/pkrumins/node-tree-kill/pull/5](https://github.com/pkrumins/node-tree-kill/pull/5)
- Patched a race condition [https://github.com/pkrumins/node-tree-kill/issues/7](https://github.com/pkrumins/node-tree-kill/issues/7)
- Formatted source code to my personal preference, see included `.jscsrc` and `.jshintrc`

You can find this repo on [npm](https://www.npmjs.com/package/@jub3i/tree-kill) and [github](https://github.com/jub3i/tree-kill).

## Examples

In these examples we kill all the child processes of the process with pid `1`, including the process with pid `1` itself.

### Synchronous example

```js
var tkill = require('@jub3i/tree-kill');

//NOTE: tkill() below has async internal components and may only finish
//killing processes after the call is made
tkill(1, 'SIGKILL');
```

### Asynchronous example

```js
var tkill = require('@jub3i/tree-kill');
tkill(1, 'SIGKILL', function(err) {
  if (err) {
    console.log('there was an error:', err);
    return;
  }
  console.log('all processes killed');
});
```

## Methods

**Note:** For Linux, these methods use `ps -o pid --no-headers --ppid PID` to find the parent pids of `PID`.

**Note:** For Windows, these methods use `'taskkill /pid PID /T /F'` to kill the process tree.

### tkill(pid, signal, cb)

Sends signal `signal` to all children processes of the process with pid `pid`, including `pid`. When the killing is complete `cb` is called. The `cb` method signature is `cb(err)`.

### tkill(pid, signal)

Sends signal `signal` to all children processes of the process with pid `pid`, including `pid`.

### tkill(pid, cb)

Sends signal `SIGTERM` to all children processes of the process with pid `pid`, including `pid`. When the killing is complete `cb` is called. The `cb` method signature is `cb(err)`.

### tkill(pid)

Sends signal `SIGTERM` to all children processes of the process with pid `pid`, including `pid`.

## Install

With [npm](https://npmjs.org) do:

```
npm install @jub3i/tree-kill
```

**Note:** Install requires a version of npm greater than 2.7.0 which supports scoped packages, otherwise npm will install this git repo into the dependencies field of your `package.json`

## License

MIT
npm package: @jubairsaidi/benchlogga
Description: Yet another nodejs logging package, built how I like it.
Author: Jubair Saidi
Latest version: 1.0.2

# Benchlogga

A nodejs logging and benchmarking package.

- [Benchlogga](#benchlogga)
  - [Installation](#installation)
  - [Usage](#usage)
    - [TypeScript](#typescript)
    - [Javascript](#javascript)
    - [Usage](#usage-1)
    - [Roadmap](#roadmap)

## Installation

```sh
npm i benchlogga
yarn add benchlogga
```

## Usage

### TypeScript

```typescript
import { Benchlogga } from 'benchlogga';

const logger1 = new Benchlogga('SomeContext');
const logger2 = new Benchlogga('SomeOtherContext');
```

### Javascript

```javascript
var Benchlogga = require('benchlogga');

var logger = new Benchlogga('SomeContext');
var logger2 = new Benchlogga('SomeOtherContext');
```

### Usage

Basic usage looks like this
```typescript
logger.log('Hello from one of my modules');
logger.log('Some other event from the first module');
logger2.log('Hello from a differnet module');
setTimeout(() => logger.log('something that happened later'), 200);
```

The above would output something like this

```sh
[pid] 61380 - 01/28/2020, 12:28:45 AM  [SomeContext] Hello from one of my modules
[pid] 61380 - 01/28/2020, 12:28:45 AM  [SomeContext] Some other event from the first module +252.486 μs
[pid] 61380 - 01/28/2020, 12:28:45 AM  [SomeOtherContext] Hello from a different module
[pid] 61380 - 01/28/2020, 12:28:46 AM  [SomeContext] something that happened later +204.113158 ms
```

Benchlogga comes with 5 different message types

```typescript
logger.log('string message')
logger.warn('string message')
logger.debug('string message')
logger.verbose('string message')
logger.error('string message', 'stack trace')
// or
logger.error(new Error('string message'))
```

The primary difference between them is the colors they display.  For example, the above results in something that looks like this
![image](https://user-images.githubusercontent.com/1675902/73324617-8a4ae080-4219-11ea-8df5-c5b9dcddf1ed.png)

### Roadmap

Currently it's mainly in the form of performance.  can't have decent benchmarking if the logger is taking up too much time internally.
npm package: @jubayer_shuvo/mailer-js
Description: A lightweight and easy-to-use Node.js mailer utility supporting TypeScript and JavaScript.
Author: Md Jubayer
Latest version: 1.0.3

# 📬 @jubayer_shuvo/mailer-js

[![NPM version](https://img.shields.io/npm/v/@jubayer_shuvo/mailer-js.svg)](https://www.npmjs.com/package/@jubayer_shuvo/mailer-js)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Node.js](https://img.shields.io/badge/node-%3E%3D14.0.0-brightgreen.svg)](https://nodejs.org/)
[![Build](https://img.shields.io/github/actions/workflow/status/jubayershuvo/mailer-js/publish.yml?label=build)](https://github.com/jubayershuvo/mailer-js/actions)
[![GitHub stars](https://img.shields.io/github/stars/jubayershuvo/mailer-js.svg?style=social)](https://github.com/jubayershuvo/mailer-js)

> A lightweight and easy-to-use Node.js mailer utility supporting TypeScript and JavaScript.

---

## ✨ Features

- 🚀 Simple and minimal API
- 📦 Works with both CommonJS and ESModules
- 📜 Written in TypeScript
- 💌 Send emails with just one function

---

## 📦 Installation

```bash
npm install @jubayer_shuvo/mailer-js
# or
yarn add @jubayer_shuvo/mailer-js
```

---


## Get Api for free
[Click here](https://mailer-js.vercel.app)

## 🚀 Usage

### ✅ CommonJS (Node.js)

```js
const sendMail = require("@jubayer_shuvo/mailer-js");

sendMail({
  apiKey: "your-api-key",
  to: "recipient@example.com",
  subject: "Hello!",
  text: "This is a test email.",
})
  .then(() => console.log("Email sent successfully!"))
  .catch(console.error);
```

### ✅ ESModules / TypeScript

```ts
import sendMail from "@jubayer_shuvo/mailer-js";

await sendMail({
  apiKey: "your-api-key",
  to: "recipient@example.com",
  subject: "Hello!",
  text: "This is a test email.",
});
```

---

## 📄 API

### `sendMail(options: SendMailOptions): Promise<{ success: boolean }>`

#### Parameters:

| Name     | Type     | Required | Description              |
|----------|----------|----------|--------------------------|
| `apiKey` | `string` | ✅       | Your email API key       |
| `to`     | `string` | ✅       | Recipient email address  |
| `subject`| `string` | ✅       | Email subject            |
| `text`   | `string` | ✅       | Email plain text content |

---

## 📃 License

MIT © [Md Jubayer](https://github.com/jubayershuvo)
npm package: @jubbio/auth
Description: Jubbio OAuth2 SDK - Add 'Sign in with Jubbio' to your app
Latest version: 1.0.4

# @jubbio/auth

Jubbio OAuth2 SDK — Add "Sign in with Jubbio" to your app.

## Installation

```bash
npm install @jubbio/auth
```

## Quick Start

```js
import { JubbioAuth } from '@jubbio/auth';

const auth = new JubbioAuth({
  clientId: 'YOUR_CLIENT_ID',
  redirectUri: 'https://myapp.com/callback',
  scopes: ['identify', 'email', 'guilds']
});
```

### Login Button

```jsx
<button onClick={() => auth.login()}>
  Sign in with Jubbio
</button>
```

### Callback Page

```js
// On your /callback page
const { user, tokens } = await auth.handleCallback();
console.log(`Welcome, ${user.display_name || user.username}!`);
```

## Built-in UI

### Vanilla JS — Render a login button

```js
import { JubbioAuth, renderLoginButton } from '@jubbio/auth';

const auth = new JubbioAuth({ clientId: '...', redirectUri: '...' });

renderLoginButton('#login-container', auth, {
  label: 'Sign in with Jubbio',
  theme: 'brand',   // 'brand' | 'dark' | 'light'
  size: 'medium'     // 'small' | 'medium' | 'large'
});
```

### Vanilla JS — Handle callback page

```js
import { JubbioAuth, handleCallbackPage } from '@jubbio/auth';

const auth = new JubbioAuth({ clientId: '...', redirectUri: '...' });

handleCallbackPage(auth, {
  successRedirect: '/',
  onSuccess: (result) => console.log('Logged in:', result.user),
  onError: (err) => console.error('Failed:', err)
});
```

## React

For React projects, use [`@jubbio/auth-react`](https://www.npmjs.com/package/@jubbio/auth-react) which provides ready-made components and hooks.

## API

### `new JubbioAuth(config)`

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `clientId` | string | ✅ | OAuth2 Client ID |
| `redirectUri` | string | ✅ | Callback URL |
| `scopes` | string[] | ❌ | Requested scopes (default: `['identify']`) |
| `baseUrl` | string | ❌ | API URL (default: `https://api.jubbio.com`) |
| `popup` | boolean | ❌ | Use popup window (default: `false`) |
| `autoStore` | boolean | ❌ | Store tokens in localStorage (default: `true`) |

### Methods

| Method | Description |
|--------|-------------|
| `login()` | Start the OAuth2 login flow |
| `handleCallback()` | Process callback URL, returns `{ user, tokens }` |
| `getUser()` | Fetch current user info |
| `getGuilds()` | List user's guilds |
| `getConnections()` | Fetch connected accounts |
| `getRelationships()` | Fetch friend list |
| `isLoggedIn()` | Check login status |
| `getAccessToken()` | Get stored access token |
| `refreshToken(secret?)` | Refresh the access token |
| `logout()` | Clear stored tokens |

### Scopes

| Scope | Description |
|-------|-------------|
| `identify` | Username, avatar, ID |
| `email` | Email address |
| `guilds` | Guild list |
| `guilds.members.read` | Guild members |
| `connections` | Connected accounts |
| `relationships.read` | Friend list |

## Security

- PKCE (S256) is used automatically
- CSRF protection via state parameter
- Tokens stored in localStorage
- Access token lifetime: 1 hour
- Refresh token rotation enabled (new token on every refresh)
npm package: @jubbio/auth-react
Description: React components for Jubbio OAuth2 — Sign in with Jubbio
Latest version: 1.0.3

# @jubbio/auth-react

React components for Jubbio OAuth2 authentication.

## Installation

```bash
npm install @jubbio/auth @jubbio/auth-react
```

## Usage

### 1. Wrap your app with the provider

```jsx
import { JubbioProvider } from '@jubbio/auth-react';

function App() {
  return (
    <JubbioProvider config={{
      clientId: 'YOUR_CLIENT_ID',
      redirectUri: 'http://localhost:5173/callback',
      scopes: ['identify', 'email']
    }}>
      <Router />
    </JubbioProvider>
  );
}
```

### 2. Add a login button

```jsx
import { JubbioLoginButton } from '@jubbio/auth-react';

function LoginPage() {
  return <JubbioLoginButton />;
}

// Customization
<JubbioLoginButton theme="dark" size="large" />
<JubbioLoginButton theme="light" label="Sign in with Jubbio" />
<JubbioLoginButton fullWidth />
```

### 3. Handle the callback

```jsx
import { JubbioCallback } from '@jubbio/auth-react';

function CallbackPage() {
  return (
    <JubbioCallback
      successRedirect="/"
      onSuccess={(result) => console.log('Logged in:', result.user)}
      onError={(err) => console.error('Error:', err)}
    />
  );
}
```

### 4. Access user data with the hook

```jsx
import { useJubbio } from '@jubbio/auth-react';

function Profile() {
  const { user, isLoggedIn, logout } = useJubbio();

  if (!isLoggedIn) return <p>Not logged in</p>;

  return (
    <div>
      <p>Welcome, {user?.display_name || user?.username}</p>
      <button onClick={logout}>Sign Out</button>
    </div>
  );
}
```

## Components

### `<JubbioLoginButton />`

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `label` | string | "Jubbio ile Giriş Yap" | Button text |
| `size` | "small" \| "medium" \| "large" | "medium" | Size variant |
| `theme` | "brand" \| "dark" \| "light" | "brand" | Color theme |
| `showLogo` | boolean | true | Show Jubbio logo |
| `fullWidth` | boolean | false | Full width button |

### `<JubbioCallback />`

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `successRedirect` | string | "/" | Redirect URL after success |
| `redirectDelay` | number | 1500 | Delay before redirect (ms) |
| `onSuccess` | function | — | Success callback |
| `onError` | function | — | Error callback |
| `loadingComponent` | ReactNode | — | Custom loading UI |
| `successComponent` | function | — | Custom success UI |
| `errorComponent` | function | — | Custom error UI |

### `useJubbio()` Hook

```ts
const {
  auth,       // JubbioAuth instance
  user,       // JubbioUser | null
  isLoggedIn, // boolean
  isLoading,  // boolean
  login,      // () => Promise<void>
  logout      // () => void
} = useJubbio();
```
npm package: @jubileesoft/ember-jubileesoft-ui
Description: Common UI components for ember apps from Jubileesoft.
Author: Christian Ellerbrock
Latest version: 1.1.2

ember-jubileesoft-ui
==============================================================================

[Short description of the addon.]


Compatibility
------------------------------------------------------------------------------

* Ember.js v3.12 or above
* Ember CLI v2.13 or above
* Node.js v10 or above


Installation
------------------------------------------------------------------------------

```
ember install ember-jubileesoft-ui
```


Usage
------------------------------------------------------------------------------

[Longer description of how to use the addon in apps.]


License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).
npm package: @jubo-health/react-ui-components
Description: This library is aim to support the development of [jubo.health](https://www.jubo-health.com/) products, so pull requests and issues would probably be push aside.
Author: Hengry
Latest version: 0.0.19

# react-ui-components

This library is aim to support the development of [jubo.health](https://www.jubo-health.com/) products, so pull requests and issues would probably be push aside.

Most components are highly rely on:

- [tailwindcss](https://tailwindcss.com/)

and demo with [storybook](https://storybook.js.org/)

...WIP

## install

```
yarn add @jubo-health/react-ui-components
```

```title=peerDependencies
yarn add @tailwindcss/line-clamp react-hook-form
```

```css title='tailwind.css'
@layer utilities {
  input[type='number']::-webkit-inner-spin-button,
  input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}
```

```js title='tailwind.config.js'
const plugin = require('tailwindcss/plugin');

module.exports = {
  content: ['./src/**/*.(js|jsx|ts|tsx)'],
  theme: {
    extend: {
      colors: {
        primary: '#0097A7',
        secondary: '#78909C',
        error: '#A50F01',
        warning: '#CB8900',
        grey: {
          50: '#FAFAFA',
          100: '#F5F5F5',
          200: '#EEEEEE',
          300: '#E0E0E0',
          400: '#BDBDBD',
          500: '#9E9E9E',
          600: '#757575',
          700: '#616161',
          800: '#424242',
          900: '#212121',
        },
        cryan: {
          50: '#E0F7F9',
          700: '#0097A7',
          900: '#006064',
        },
        red: {
          100: '#FBC8CA',
          200: '#E7938D',
          900: '#A50F01',
        },
        pink: {
          300: '#F076A2',
        },
        lime: {
          100: '#EBF1C4',
          500: '#C0D243',
        },
        green: {
          100: '#C1eed3',
          300: '#6CCB97',
          700: '#2C8A4D',
        },
        blue: {
          100: '#B5E3F4',
          300: '#60BFE5',
        },
        purple: {
          100: '#D8CBF2',
          300: '#A683E2',
        },
      },
      transitionProperty: {
        top: 'top',
      },
      keyframes: {
        'scroll-out': {
          '100%': { transform: 'translate(0, -100%)' },
        },
      },
    },
  },
  variants: {
    extend: {},
  },
  plugins: [
    require('@tailwindcss/line-clamp'),
    plugin(function ({ addVariant }) {
      addVariant('hover', '&:hover');
      addVariant('focus-within', '&:focus-within'); // change variant order
    }),
  ],
};
```

## publish

```
npx np
```

or

```
yarn global add np
```

then

```
np
```
npm package: @jucedogi/platzom
Description: Traductor de idioma platzom
Author: jucedogi
Latest version: 0.1.0

# Platzom

Platzom es un idioma inventado para el curso de fundamentos de javascript en la plataforma de aprendizaje digital Platzi.

## Descripción del idioma

- Si la palabra termina con "ar", se le quitan esas dos letras.
- Si la palabra inicia con Z, se le añade "pe" al final.
- Si la palabra traducida tiene 10 o más letras, se debe partir en dos por la mitad y unir con un guión medio.
- Por último, si la palabra original es un palíndromo, ninguna regla anterior cuenta y se devuelve la misma palabra pero intercalando letras mayúsculas y minúsculas.

## Instalación

```
npm install platzom
```

## Uso

```
import platzom from 'platzom'

platzom("Programar") // Program
platzom("Zorro") // Zorrope
platzom("Zarpar") // Zarppe
platzom("abecedario") // abece-dario
platzom("sometemos") // SoMeTeMoS
```

## Créditos
- [JuCeDoGi](https://twitter.com/@jucedogi)

## Licencia
[MIT](https://opensource.org/licenses/MIT)
npm package: @juceliohv/meu-modulo-compartilhado
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.
Latest version: 0.0.1

# MeuModuloCompartilhado

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).