open-index/open-npm huggingface dataset:
npm package: @radicjs/kindof
Description: typeof/kindof type guards/checkers
Author: Robin Radic
Latest version: 1.0.2

# @radicjs/kindof

>  type checkers / guards

#### Installation
```
npm i @radicjs/kindof
```

```
yarn add @radicjs/kindof
```


#### API
```ts
export type KindsOf = 'number' | 'string' | 'boolean' | 'function' | 'regexp' | 'array' | 'date' | 'error' | 'object';
export const kindOf = (value: any):KindsOf
export const isNumber = (value: any): value is number =>{}
export const isString = (value: any): value is string =>{}
export const isBoolean = (value: any): value is boolean =>{}
export const isFunction = (value: any): value is Function =>{}
export const isRegExp = (value: any): value is RegExp =>{}
export const isArray = (value: any): value is Array =>{}
export const isDate = (value: any): value is Date => {}
export const isError = (value: any): value is Error =>{}
export const isObject = (value: any): value is object =>{}
export const isNothing = (value: any): value is undefined =>{}
export const isNumericString = (value: any): boolean => isString(value) && !isNaN(value as any);
export const isStringNumber = (value: any): value is string | number => isNumber(value) || isNumericString(value);
export const isNumberObject = (target: any): boolean => {}
export const isES6Promise = (p: any): p is PromiseLike<any> => {}
export const isNativePromise = (p: any): boolean => {}
export const isPromise = <T = any>(p: any): p is PromiseLike<T> => {}
export const isConstructor = (value: any): boolean => {}
```

#### Example
```ts
kindOf('asfs') === 'string' // true
isString('asfs') === 'string' // true
```

#### Size
<!-- sizes:start -->
**Total:** `6.40 kB`

**Gzip:**  `2.55 kB`
<!-- sizes:end -->

#### Coverage
<!-- coverage:start -->
St|File       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--|-----------|---------|----------|---------|---------|-------------------
🟢|All files  |   92.18 |    66.66 |   95.23 |   94.59 |
🟢|&nbsp;[kindOf.ts](./src/kindOf.ts)|   92.18 |    66.66 |   95.23 |   94.59 |[20](./src/kindOf.ts#L20),[69](./src/kindOf.ts#L69)
<!-- coverage:end -->
npm package: @radicjs/type-check
Description: The type-check package provides a collection of type guards and type checkers for various JavaScript data types.
Author: Robin Radic
Latest version: 1.0.2

## type-check

>  type checkers / guards

The `@radicjs/type-check` package provides a collection of type guards and type checkers for various JavaScript data types. It includes functions to determine if a value is of a specific type, such as number, string, boolean, function, regexp, array, date, error, or object. This package is useful for performing precise type checks in TypeScript and JavaScript projects.

### Key Features:
- **Type Guards**: Functions to assert the type of a value.
- **Type Checkers**: Functions to check if a value is of a specific type.
- **Comprehensive Coverage**: Supports a wide range of types including primitives and complex types.
- **Lightweight**: Minimal footprint with efficient type checking.

### Installation:
```sh
npm install @radicjs/type-check
# or
yarn add @radicjs/type-check
```

### Usage:
```typescript
import { isNumber, isString, kindOf } from '@radicjs/type-check';

console.log(isNumber(123)); // true
console.log(isString('hello')); // true
console.log(kindOf([])); // 'array'
```

#### API
```ts
export type KindsOf = 'number' | 'string' | 'boolean' | 'function' | 'regexp' | 'array' | 'date' | 'error' | 'object';
export const kindOf = (value: any):KindsOf
export const isNumber = (value: any): value is number =>{}
export const isString = (value: any): value is string =>{}
export const isBoolean = (value: any): value is boolean =>{}
export const isFunction = (value: any): value is Function =>{}
export const isRegExp = (value: any): value is RegExp =>{}
export const isArray = (value: any): value is Array =>{}
export const isDate = (value: any): value is Date => {}
export const isError = (value: any): value is Error =>{}
export const isObject = (value: any): value is object =>{}
export const isNothing = (value: any): value is undefined =>{}
export const isNumericString = (value: any): boolean => isString(value) && !isNaN(value as any);
export const isStringNumber = (value: any): value is string | number => isNumber(value) || isNumericString(value);
export const isNumberObject = (target: any): boolean => {}
export const isES6Promise = (p: any): p is PromiseLike<any> => {}
export const isNativePromise = (p: any): boolean => {}
export const isPromise = <T = any>(p: any): p is PromiseLike<T> => {}
export const isConstructor = (value: any): boolean => {}
```

### Size
<!-- sizes:start -->
- Total: `7.78 kB`
- Gzip:  `2.70 kB`
<!-- sizes:end -->

### Coverage
<!-- coverage:start -->
St|File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
--|----------|---------|----------|---------|---------|-------------------
🔴|All files |       0 |        0 |       0 |       0 |                   

<!-- coverage:end -->

### License:
MIT License

### Author:
Robin Radic

### Repository:
[GitHub - robinradic/radicjs](https://github.com/robinradic/radicjs)
npm package: @radio-retail/babel-preset
Description: Babel presets for Radio Retail
Latest version: 1.0.0


# @radio-retail/babel-preset
[![package version](https://img.shields.io/npm/v/@radio-retail/babel-preset.svg?style=flat-square)](https://npmjs.org/package/@radio-retail/babel-preset)
[![package downloads](https://img.shields.io/npm/dm/@radio-retail/babel-preset.svg?style=flat-square)](https://npmjs.org/package/@radio-retail/babel-preset)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![package license](https://img.shields.io/npm/l/@radio-retail/babel-preset.svg?style=flat-square)](https://npmjs.org/package/@radio-retail/babel-preset)
[![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

> [Babel](https://babeljs.io/) presets for [Radio Retail](http://www.zapop.com/service/radioretail/)

## Table of Contents

- [Usage](#usage)
- [Install](#install)
- [Contribute](#contribute)
- [License](#License)

## Usage

Add the following to your `.babelrc`

```json
{
  "presets": ["@radio-retail/babel-preset"]
}
```

## Install

This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com). First, install [Babel](https://babeljs.io/), then:

```sh
$ npm install @radio-retail/babel-preset
$ # OR
$ yarn add @radio-retail/babel-preset
```

## Contribute

1. Fork it and create your feature branch: `git checkout -b my-new-feature`
2. Commit your changes: `git commit -am "Add some feature"`
3. Push to the branch: `git push origin my-new-feature`
4. Submit a pull request

## License

MIT
npm package: @radio-retail/ui
Description: Radio Retail Component Library
Author: Radio Retail
Latest version: 1.3.1

# Radio UI

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

> Radio Retail Component Library

## About

Radio UI is a Component Library which provides developers with the easiest possible way of building [Radio Retail](http://www.zapop.com/service/radioretail/)’s products.

## Motivation

In order to create a great experience for our users, the component library is intented to be a single source of truth for all stakeholders.
## Goals

- Create consistency across products.
- Speed up design and development velocity.
- Improve overall quality of the codebase.
- Provide a base set of components that can be reused in many contexts.

## Install

The following peer dependencies are required:

- [React](https://www.npmjs.com/package/react)
- [React DOM](https://www.npmjs.com/package/react-dom)
- [react-hook-form](https://www.npmjs.com/package/react-hook-form)
- [PropTypes](https://www.npmjs.com/package/prop-types)
- [Styled Components](https://www.npmjs.com/package/styled-components)
- [@lessondesk/material-icons](https://www.npmjs.com/package/@lessondesk/material-icons)

Afterwards, you can install the library:

```sh
npm install @radio-retail/ui
# OR
yarn add @radio-retail/ui
```

## Contributing

Contributions are welcome. Please open up an issue or create PR if you would like to help out.

For all contributors, please be sure to read the
[Contributing](CONTRIBUTING.md) doc.

## Credits

This component library was heavily inspired by the excellent [Priceline.com Design System](https://github.com/pricelinelabs/design-system).

## Publishing

This module uses the [Automated releases for npm packages](https://github.com/marketplace/actions/automated-releases-for-npm-packages) Github action for releasing when pushed to the `master` branch.

### Versioning

- If the string "BREAKING CHANGE" is found anywhere in any of the commit messages or descriptions the major version will be incremented.
- If a commit message begins with the string "feat" then the minor version will be increased. This works for most common commit metadata for feature additions: "feat: new API" and "feature: new API".
- All other changes will increment the patch version.

### FAQS

- What is going on with the `package.json` version? See the [Script does not update package.json issue](https://github.com/mikeal/merge-release/issues/12)

## License

MIT
npm package: @radio_factory/np
Description: A React file manager component with drag and drop functionality
Latest version: 1.0.0

# React File Manager Component

A customizable file manager component for React applications with drag and drop functionality.

## Features

- 📁 File and folder management
- 🖱️ Drag and drop support
- 📤 File upload/download
- 🗑️ Delete files and folders
- ✏️ Rename files and folders
- 📱 Responsive design

## Installation

```bash
npm install @yourusername/react-file-manager
# or
yarn add @yourusername/react-file-manager
```

## Usage

```jsx
import React from 'react';
import { FileManager } from '@yourusername/react-file-manager';

function App() {
  const handleFileSelect = (file) => {
    console.log('Selected file:', file);
  };

  return (
    <div style={{ width: '100%', height: '600px' }}>
      <FileManager 
        apiUrl="http://your-api-url.com/api"
        onFileSelect={handleFileSelect}
      />
    </div>
  );
}

export default App;
```

## Props

| Prop | Type | Required | Description |
|------|------|----------|-------------|
| `apiUrl` | string | Yes | Base URL for the file management API |
| `onFileSelect` | function | No | Callback when a file is selected |
| `theme` | object | No | Custom theme object for styling |
| `allowedFileTypes` | string[] | No | Array of allowed file types (e.g., ['image/*', '.pdf']) |
| `maxFileSize` | number | No | Maximum file size in bytes (default: 10MB) |

## Development

1. Clone the repository
2. Install dependencies:
   ```bash
   npm install
   ```
3. Start development server:
   ```bash
   npm run dev
   ```
4. Build for production:
   ```bash
   npm run build
   ```

## Publishing

1. Update the version in `package.json`
2. Build the package:
   ```bash
   npm run build
   ```
3. Publish to npm:
   ```bash
   npm publish --access public
   ```

## License

MIT © [Your Name](https://github.com/yourusername)
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```
npm package: @radioac7iv/task-manager-cli
Description: A CLI Tool to track and manage tasks
Author: Manav Gadhiya
Latest version: 0.1.0

# Task Manager CLI

A Command-Line Interface (CLI) tool for tracking and managing tasks. This CLI allows users to add, update, delete, list, and mark tasks with ease.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Installation

1.  **Clone the repository:**

```bash
git clone https://github.com/0xRadioAc7iv/task-tracker-cli.git
```

2.  **Navigate to the project directory:**

```bash
cd task-tracker-cli
```

3.  **Install dependencies:**

```bash
npm install
```

## Usage

The CLI tool is invoked using the `task` command. Below are the available commands and their usage:

### Add Task

Add a new task with a description and optional status.

```bash
task add <description> [status]
```

- **description**: The description of the task.
- **status**: Optional. The status of the task (e.g., "in-progress").

**Example:**

```bash
task add "Finish the report" "in-progress"
```

### Update Task

Update the description of an existing task.

```bash
task update <id> <description>
```

- **id**: The ID of the task to update.
- **description**: The new description for the task.

**Example:**

```bash
task update 1 "Finish the report by Friday"
```

### Delete Task

Delete a task by its ID.

```bash
task delete <id>
```

- **id**: The ID of the task to delete.

**Example:**

```bash
task delete 1
```

### List Tasks

List all tasks or filter by status.

```bash
task list [status]
```

- **status**: Optional. Filter tasks by status ("todo", "in-progress", "done").

**Example:**

```bash
task list "todo"
```

### Mark Task

Mark a task's status as either "in-progress" or "done".

```bash
task mark <id> <status>
```

- **id**: The ID of the task to mark.
- **status**: The new status for the task ("in-progress" or "done").

**Example:**

```bash
task mark 1 "done"
```

## Contributing

1.  **Fork the repository**
2.  **Create a new branch:**

```bash
git checkout -b feature/YourFeature
```

3.  **Commit your changes:**

```bash
git commit -m 'Add new feature'
```

4.  **Push to the branch:**

```bash
git push origin feature/YourFeature
```

5.  **Create a new Pull Request**

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Project URL ([roadmap.sh](https://roadmap.sh))

```
https://roadmap.sh/projects/task-tracker
```
npm package: @radioactiive/modal-slider-ui
Description: React UI components (ModalSlider, ModalCard)
Author: Maxim Kornev
Latest version: 0.1.0

# @radioactiive/modal-slider-ui — React UI components

Набор лёгких компонентов для модальных окон со слайдами. Включает `<ModalSlider />`, `<ModalCard />` и хук `useSwipe`. Подходит для галерей, лайтбоксов и произвольного контента.

## Установка

```bash
npm i @radioactiive/modal-slider-ui
# или
yarn add @radioactiive/modal-slider-ui
# или
pnpm add @radioactiive/modal-slider-ui
```

> Требуются peer‑dependencies: **react >=18 <20**, **react-dom >=18 <20**.

---

## Быстрый старт

```tsx
import { useState } from 'react';
import { ModalSlider, ModalCard } from '@radioactiive/modal-slider-ui';

export default function Gallery() {
  const [open, setOpen] = useState(false);
  const [idx, setIdx] = useState(0);

  const slides = [
    <img src="/1.jpg" alt="Фото 1" />,
    <img src="/2.jpg" alt="Фото 2" />,
    <ModalCard onClose={() => setOpen(false)} header={<b>Заголовок</b>}>
      Любой произвольный контент
    </ModalCard>,
  ];

  return (
    <>
      <button
        onClick={() => {
          setIdx(0);
          setOpen(true);
        }}
      >
        Открыть
      </button>
      {open && (
        <ModalSlider
          slides={slides}
          currentIndex={idx}
          onIndexChange={setIdx}
          onClose={() => setOpen(false)}
        />
      )}
    </>
  );
}
```

---

## Архитектура

- **`<ModalSlider />`** — модальное окно + карусель.
- **`<ModalCard />`** — карточка с заголовком/футером.
- **`useSwipe(onLeft, onRight)`** — хук свайпов.

Компоненты собираются в `lib/index.cjs`, `lib/index.esm.js`, типы — `lib/index.d.ts`.

---

## `<ModalSlider />` API

```ts
interface IModalSliderBaseProps {
  currentIndex: number;
  onClose: () => void;
  onIndexChange?: (index: number) => void;
  loop?: boolean; // default: true
  closeOnBackdrop?: boolean; // default: true
  prevControl?: ReactNode;
  nextControl?: ReactNode;
}
```

Источник данных: либо `slides: ReactNode[]`, либо `children: ReactNode`.

### Навигация

- Esc — закрыть
- ← / → — листать
- свайпы — через `useSwipe`

---

## `<ModalCard />` API

```ts
interface IModalCardProps {
  onClose: () => void;
  header?: ReactNode;
  children: ReactNode;
  footer?: ReactNode;
  ariaLabel?: string;
  closeControl?: ReactNode;
}
```

---

## `useSwipe(onLeft, onRight)`

Хук для обработки свайпов. Порог ±30px, работает с Pointer Events.

```tsx
const { bind } = useSwipe(() => console.log('←'), () => console.log('→'))
<div {...bind}>Контент</div>
```

---

## Стили

Все стили инкапсулированы в CSS‑модули. Бандлер Rollup помечает `**/*.css` как `sideEffects`, поэтому стили не будут вычищены.

---

## Репозиторий и баги

- GitLab: [slidegallery](https://gitlab.services.mts.ru/mkornev/slidegallery)
- Issues: [bugs](https://gitlab.services.mts.ru/mkornev/slidegallery/-/issues)

---

## Лицензия

MIT © Maxim Kornev
npm package: @radioactivehamster/date-time
Description: An ISO 8601 extended & IETF compliant UTC (Zulu) timestamp generator.
Author: James Benner
Latest version: 0.1.5

@radioactivehamster/date-time
=============================
> An ISO 8601 extended & IETF compliant UTC (Zulu) timestamp generator.

[![npm (scoped)][NPM VERSION BADGE]][NPM PAGE] [![GitHub license][LICENSE BADGE]][LICENSE PAGE] [![Build Status][BUILD BADGE]][BUILD PAGE]

Installation
------------
```sh
$ npm install --save @radioactivehamster/date-time
```

Usage
-----
```js
const dateTime = require('@radioactivehamster/date-time');

dateTime(); // > "2017-08-13T22:09:20Z"
```

Optionally you can seed the function with a `Date` object.

```js
const dateTime = require('@radioactivehamster/date-time');

dateTime(new Date()); // > "2017-08-13T22:09:20Z"
```

:tada: Easy-peasy mac-n-cheesy!

License
-------
The MIT License (Expat). See the [license file](LICENSE) for details.

[BUILD BADGE]: https://travis-ci.org/radioactivehamster/date-time.svg?branch=master
[BUILD PAGE]: https://travis-ci.org/radioactivehamster/date-time
[LICENSE BADGE]: https://img.shields.io/github/license/radioactivehamster/date-time.svg
[LICENSE PAGE]: https://github.com/radioactivehamster/date-time/blob/master/LICENSE
[NPM PAGE]: https://www.npmjs.com/package/@radioactivehamster/date-time
[NPM VERSION BADGE]: https://img.shields.io/npm/v/@radioactivehamster/date-time.svg
npm package: @radioactivehamster/has-private-filename
Description: Determine if a filename is "private" e.g. prefixed with a "_" (underscore.)
Author: James Benner
Latest version: 0.1.0

### NAME

`has-private-filename` – Determine if a filename is “private” e.g. prefixed with
a “_” (underscore.)

### SYNOPSIS

```js
var hasPrivateFilename = require('has-private-filename');

hasPrivateFilename(str);
```

### DESCRIPTION

The `has-private-filename()` extension takes a file base-name string representation and determines if it matches the common “private” file naming convention. In which private files are prefixed with an underscore “_” whereas standard files are not.

### RETURN VALUES

Upon successful completion, the value of `true` is returned; otherwise the value `false` is returned to indicate the inverse.

### EXAMPLES

The following demonstrates the expected return values.

```js
'use strict';

var assert = require('assert');
var hasPrivateFilename = require('has-private-filename');

assert(hasPrivateFilename('_example.file') === true);
assert(hasPrivateFilename('example.file') === false);
```

### AUTHORS

Benner, James <<http://radioactivehamster.com>>
npm package: @radiobridge/packet-decoder
Description: Decodes the RadioBridge sensor packets
Author: Deepak Maurya
Latest version: 1.0.3

# RadioBridge Decoder

This library helps de-coding the Radio Bridge sensor payload as a JSON Object, that can be used in various applications to display the proper sensor states.

## Installation

This library can be installed using any compatible package manager.

```sh
npm install @radiobridge/packet-decoder --save

# For Yarn, use the command below.
yarn add @radiobridge/packet-decoder
```

## Usage

You can use the decoder package using NPM or use the minified JS version to decode the data in browsers.

### Node.js
```ts
const decoder = require('@radiobridge/packet-decoder')

console.log(decoder.decodePayload('1901030126000000000000'))
```

### JavaScript - Browser compatible

Download the JS file from [here](https://github.com/RadioBridge/Packet-Decoder/blob/master/dist/radiobridge-decoder.min.js)
```js
<script type="text/javascript" src="radiobridge-decoder.min.js"></script>

<script type="text/javascript">
    console.log(radiobridgeDecoder.decodePayload('1901030126000000000000'))
</script>
```

### Additional Helper functions
Following functions are also available to decode the raw payloads received through different LNS networks, You can pass the raw data to the appropriate function to decode the payload.

```js
let result = decodeTtnPayload('GAYDAQ==');

let result = decodeChirpstackPayload('FwYDAA==');

let result = decodeAwsIotPayload('FwYDAA==');

let result = decodeKerlinkPayload('FwYDAA==');
```

## Output Format

decodePayload function accepts a Hexadecimal payload and returns the decoded values as an JSON Object.

## Example Output

```json
// Input: 1901030126000000000000
// Output:
{
  "protocol": "1",
  "counter": 25,
  "type": "SUPERVISOR",
  "SUPERVISOR": {
    "BatteryLow": true,
    "ErrorWithLastDownlink": true,
    "TamperState": false,
    "TamperSinceLastReset": false,
    "threshold": "X-axis over threshold",
    "battery": "2.6V",
    "accumulationCount": 0
  }
}
```

## Sensor Decode Examples

Please refer to the [GitHub README](https://github.com/RadioBridge/Packet-Decoder/tree/master/DecoderDocs#readme) to view the sensors output in detail.
npm package: @radiocity/csv
Description: Parse csv data with javascript
Author: radiocity
Latest version: 0.3.2

csv.js
-------

Parse [csv](https://tools.ietf.org/html/rfc4180) data with javascript

#### Usage
Simply run `npm i @radiocity/csv`

#### TODO

|   	|    Feature 	                      |    Version
|---	|---                                  |---
|   +	|    parse csv string                 |    0.1
|   +	|    export to JSON                   |    0.3
|   	|    detect separator and enclosure   |    0.5
|    	|    export array to CSV              |    0.7
|    	|    export JSON to CSV               |    0.9
|   +   |    register npm                     |
|       |    register cdn                     |
|    	|    documentation                    |
|    	|    demo                             |
|    	|    ES2015, legacy with UMD          |    2.0