open-index/open-npm huggingface dataset:
npm package: @kaminooni/env
Description: Type-save env variables access
Author: kaminooni
Latest version: 2.0.1

# @kaminooni/env

Simple, declarative, and type-safe access to process.env variables.

## Usage

```ts
import { env } from '@kaminooni/env'

enum Environment {
  Production = 'production',
  Development = 'development'
}

const config = {
  environment: env('NODE_ENV').enum(Environment),
  debug: env('DEBUG', false).boolean(),
  port: env('PORT', 3000).range(0, 65536),
  app: {
    name: env('APP_NAME', 'My App').string(),
    secret: env('APP_SECRET').string(),
    apiVersion: env('API_VERSION', 'v3').whitelist(['v1', 'v2', 'v3']),
    emails: env('EMAILS', ['myemail@example.com']).json<string[]>(),
    retries: env('RETRIES', 5).number(),
  },
}
```

## env(...) function

> env(key: string, defaultValue?: string) => VariableBuilder

This function takes Env variable name, reads this variable from `process.env` and returns the instance of `VariableBuilder`

## VariableBuilder

VariableBuilder helps you to validate, transform, and cast the env variables to a type of your choice.
All values are considered required, unless the default value is provided. If you try to access the non-existent variable, the builder will throw an error.

### string() / toString()

Converts env variable to `string`

```ts
env('APP_NAME').string()
```

### boolean()

Converts env variable to `boolean`
Returns `true` if env value equals `'true'` (case-insensitive). Returns `false` otherwise.

```ts
env('DEBUG').boolean()
```

### number()

Converts env variable to `number`.
> NOTE: Empty string `''` will be converted to `0`.

```ts
env('MAX_CONNECTIONS').number()
```

### whitelist(values: string[])

Verifies that value is in the white list. Throws an `Error` if it's not.

```ts
env('API_VERSION').whitelist(['v1', 'v2', 'v3'])
```

### range(from: number, to: number)

Verifies that value is a number in the specified range. Both limits are inclusive. 
Throws an `Error` if value is not in the specified range.

```ts
env('SERVER_PORT', 3000).range(0, 65536)
```

### enum()

Converts variable to the member of specified `enum`.
Throws an `Error` if the value is not a member of the provided Enum.

```ts
enum Environment {
  Production = 'production',
  Development = 'development'
}

const ENVIRONMENT: Environment = env('NODE_ENV').enum(Environment)
```

### json()
Converts env variable to JS object using JSON.parse() function

> NOTE: This functions doesn't check that JSON comply with the specified type.

```ts
const emails: string[] = env('EMAILS', ['myemail@example.com']).json<string[]>()
```
npm package: @kamipl/kick-api-lite
Description: Simple library for fetching streamer and stream info from Kick.com
Author: discord: kamipl
Latest version: 1.0.1

# kick-api-lite

Simple and lightweight JavaScript library for fetching streamer and stream info from [Kick.com](https://kick.com) using its public API.

Made for bots, dashboards, or any Node.js project that needs Kick stream data without authentication.

## 🔧 Installation

npm install kick-api-lite

## 🚀 Usage & API Reference

const {
  isStreamerLive,
  getStreamInfo,
  getChannelInfo
} = require('kick-api-lite');

(async () => {
  const username = 'yourrage';

  // Check if the streamer is currently live
  const isLive = await isStreamerLive(username);
  console.log(`${username} is live?`, isLive);
  // Output: yourrage is live? true

  // Get current stream information (only if live)
  const streamInfo = await getStreamInfo(username);
  console.log('Stream Info:', streamInfo);
  // Example output:
  // {
  //   title: 'Just Chilling',
  //   category: 'just-chatting',
  //   startedAt: '2025-07-28T20:00:00Z',
  //   url: 'https://kick.com/yourrage'
  // }

  // Get general info about the channel
  const channelInfo = await getChannelInfo(username);
  console.log('Channel Info:', channelInfo);
  // Example output:
  // {
  //   id: 123456,
  //   username: 'yourrage',
  //   name: 'yourrage',
  //   avatar: 'https://files.kick.com/default-avatar.jpg',
  //   bio: 'Professional streamer & gamer',
  //   followers: 34567,
  //   verified: true
  // }
})();

## 🛠 Built With

- Axios
- Kick.com public API (unofficial)

## 📄 License

MIT © Kamil
npm package: @kamiru/react-spark
Description: A lightweight and customizable sparking component for enhancing your web applications.
Author: Ruhannn
Latest version: 6.0.0

# React-Spark an sparking component :rocket:

A lightweight and customizable sparking component for enhancing your web applications.

## Features

- **Sparkling Effects**: Add visually appealing sparking :sparkles: effects to your elements.

- **Customizable**: Easily customize the appearance and behavior of the sparking component.:tada:

- **Responsive**: Works seamlessly on various screen sizes.:fire:

---

### Install the package using npm:
 

<!-- npm Package Command -->
<pre><code id="npmCommand">npm i @kamiru/react-spark </code></pre>

### Usages:

```bash

import SparkContainer from '@kamiru/react-spark';

const App = () => {
  
  return (
    <SparkContainer>
      <div>
        <button>
        <a href="use any link you want">click here</a>
        </button>
      </div>
    </SparkContainer>
  );
};

export default App;

```

### Demo :globe_with_meridians:

Visit our _[Demo Page](www.demosite.com)_ to see the sparking component in action.

#
### Configuration :memo:


You can configure the sparking component by passing pros during initialization. Here's an example:

```jsx
<SparkContainer distance={number} sparkElementWidth={number} randomnessOn={boolean}>
            
</SparkContainer>
```