open-index/open-npm huggingface dataset:
npm package: @followdev/notes-library
Description: Removes all spaces from a string
Latest version: 2.0.0

# @followdev/notes-library

[![npm (scoped)](https://img.shields.io/npm/v/@followdev/notes-library.svg)](https://www.npmjs.com/package/@followdev/notes-library)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@followdev/notes-library.svg)](https://www.npmjs.com/package/@followdev/notes-library)

Removes all spaces from a string.

## Install

```
$ npm install @followdev/notes-library
```

## Usage

```js
const tiny = require("@followdev/notes-library");

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
//    at tiny (<anonymous>:2:41)
//    at <anonymous>:1:1
```
npm package: @followup/node
Description: A nodejs package for interacting with the followup api
Latest version: 1.0.12

<h1 align="center">Followup Node SDK</h1>

<div align="center">

And SDK to interact with the Followup API

</div>

## ✨ Features

- 🌈 Trigger new notifications from node
- 📦 Easy to setup and integrate
- 🛡 Written in TypeScript with predictable static types.

## 📦 Install

```bash
npm install @followup/node
```

```bash
yarn add @followup/node
```

## 🔨 Usage

```ts
import { Followup } from '@followup/node';

const followup = new Followup(process.env.FOLLOWUP_API_KEY);

await followup.trigger('<REPLACE_WITH_EVENT_NAME>', {
  $user_id: "<USER IDENTIFIER>",
  $email: "<USER_EMAIL>",
  customAttribute: "", // use the custom attribute from each event here
  firstName: "" 
});

```

### TypeScript

`@followup/node` is written in TypeScript with complete definitions.

## 🔗 Links

- [Home page](https://followup.so/)
npm package: @followwinter/state-delegate
Description: > 将状态委托给一个HOC，摆脱重复的状态维护
Author: lyxxxx
Latest version: 1.0.0

# state-delegate
> 将状态委托给一个HOC，摆脱重复的状态维护

### 使用场景
- loading、modal 元素的隐藏和显示
- 常量状态的切换

### 使用方法
- 安装
```shell
$ npm install --save @followwinter/state-delegate
// 或者
$ yarn add  @followwinter/state-delegate
```
- 引入
```javascript
import StateDelegate from 'state-delegate'
```
- 使用
```javascript
import React from 'react';
import StateDelegate from 'state-delegate'

class App extends React.Component {
    componentDidMount() {
        // 改变状态
        const {loading} = this.props
        loading.show()
        setTimeout(() => {
            loading.hide()
        }, 3000)
    }

    render() {
        绑定状态
        const {loading} = this.props
        return <div>{
            loading.value ? '加载中' : '加载完成'
        }</div>
    }
}
// 声明状态
export default StateDelegate({
    loading: {
        show: true,
        hide: false
    }
})(App);

```
### API
```javascript
StateDelegate({
    [state]:{
        [action_name]:[value]
        ///...
    }
})(WrappedComponent)
```
- state: 状态的名称，`WrappedComponent`可以通过 `this.props[state]`来访问
- action_name: 动作的名称，每一个动作对应一个函数，`WrappedComponent`中可以通过`this.props[state][action_name]()`来执行动作，执行之后，该`state`就会变成`action_name`对应的值
- value：执行动作之后，`state`的值

### 栗子：
- 有如下定义
```javascript
export default StateDelegate({
    loading: {
        show: true,
        hide: false
    }
})(App);
```
- 则在`APP`中
```javascript
const {loading} = this.props
console.log(loading) //{value:false,show:()=>,hide:()=>,setState:(value)=>{}}
console.log(loading.value) // false
loading.show()
console.log(loading.value) // true
loading.hide()
console.log(loading.value) // false
```
npm package: @folo/forms
Description: > React components combined of @folo/layout & @folo/values
Author: Jalal Maskoun
Latest version: 1.0.2

# 📋 @folo/forms

> React components combined of @folo/layout & @folo/values

<!-- prettier-ignore-start -->
[![NPM Version](https://img.shields.io/npm/v/@folo/forms.svg)](https://www.npmjs.com/package/@folo/forms)
[![NPM Download](https://img.shields.io/npm/dt/@folo/forms.svg)](https://www.npmjs.com/package/@folo/forms)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/react.svg)](https://www.npmjs.com/package/@folo/forms)
[![npm bundle size (gzip)](https://img.shields.io/bundlephobia/minzip/react.svg)](https://www.npmjs.com/package/@folo/forms)
[![MIT License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/jalal246/folo/blob/master/packages/folo-forms/LICENSE)
[![CI](https://img.shields.io/github/workflow/status/jalal246/folo/CI)](https://github.com/jalal246/folo/tree/master)
[![Codecov](https://img.shields.io/codecov/c/github/jalal246/folo.svg)](https://codecov.io/gh/jalal246/folo)
<!-- prettier-ignore-end -->

## Installation

```sh
npm install @folo/forms
```

## Overview

`@folo/forms` has two major concepts defined in
[Field](https://github.com/jalal246/folo/tree/master/packages/folo-values)
to deal with data. And
[Grid](https://github.com/jalal246/folo/tree/master/packages/folo-layout) for
designing layout.

### Components

```js
import { Form, Field, Grid, GridItem } from "@folo/forms";
```

## Contribution 😇

If you have ideas or issues don't hesitate. You are always welcome.

## License

This project is licensed under the [MIT License](https://github.com/jalal246/folo/blob/master/packages/folo-forms/LICENSE)
npm package: @folo/utils
Description: > utils used in folo packages
Author: Jalal Maskoun
Latest version: 0.1.5

# @folo/utils

> utils used in folo packages

<hr />

<!-- prettier-ignore-start -->
[![NPM Version](https://img.shields.io/npm/v/@folo/utils.svg)](https://www.npmjs.com/package/@folo/utils)
[![NPM Download](https://img.shields.io/npm/dt/@folo/utils.svg)](https://www.npmjs.com/package/@folo/utils)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/react.svg)](https://www.npmjs.com/package/@folo/utils)
[![npm bundle size (gzip)](https://img.shields.io/bundlephobia/minzip/react.svg)](https://www.npmjs.com/package/@folo/utils)
[![MIT License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/jalal246/folo/blob/master/LICENSE)
[![CircleCI](https://circleci.com/gh/jalal246/folo/tree/master.svg?style=svg)](https://circleci.com/gh/jalal246/folo/tree/master)
[![Codecov](https://img.shields.io/codecov/c/github/jalal246/folo.svg)](https://codecov.io/gh/jalal246/folo)
<!-- prettier-ignore-end -->

## Installation

```
npm install @folo/utils
```

## License

This project is licensed under the [MIT License](https://github.com/jalal246/folo/blob/master/LICENSE)
npm package: @folon/youtube-transcript
Description: Fetch transcript from a youtube video
Author: Romainc-lab
Latest version: 1.2.4

# youtube-transcript

[![npm version](https://img.shields.io/npm/v/@folon/youtube-transcript.svg)](https://www.npmjs.com/package/@folon/youtube-transcript)

## About This Fork

This is a fork of the original youtube-transcript package that adds a **fallback system** for improved reliability. The original package used only HTML scraping, which sometimes fails or returns empty results. This version automatically falls back to YouTube's InnerTube API when needed.

⚠️ **Note**: The InnerTube API fallback works best in client-side and local server environments.

## What's New

- **Dual extraction methods**: HTML scraping + InnerTube API fallback
- **YouTube Shorts support**: Enhanced URL regex for `/shorts/` URLs
- **Better error handling**: New `YoutubeTranscriptEmptyError` class
- **Improved reliability**: Automatic fallback increases success rate

## Installation

```bash
$ npm i @folon/youtube-transcript
```

or

```bash
$ yarn add @folon/youtube-transcript
```

## Usage

```js
import { YoutubeTranscript } from '@folon/youtube-transcript';

YoutubeTranscript.fetchTranscript('videoId or URL').then(console.log);
```

### Supported URL Formats

- Standard videos: `https://www.youtube.com/watch?v=VIDEO_ID`
- Short URLs: `https://youtu.be/VIDEO_ID`
- **YouTube Shorts**: `https://www.youtube.com/shorts/VIDEO_ID`
- Embedded videos: `https://www.youtube.com/embed/VIDEO_ID`
- Direct video IDs: `VIDEO_ID`

### Methods

- `fetchTranscript(videoId: string [,options: TranscriptConfig]): Promise<TranscriptResponse[]>`

## Environment Compatibility

| Method        | Client-Side | Local Server | Production Server       |
| ------------- | ----------- | ------------ | ----------------------- |
| HTML Scraping | ✅          | ✅           | ✅                      |
| InnerTube API | ✅          | ✅           | ⚠️ May have limitations |

The package automatically uses the best available method for your environment.

## Error Handling

- `YoutubeTranscriptTooManyRequestError`: Rate limiting detected
- `YoutubeTranscriptVideoUnavailableError`: Video not accessible
- `YoutubeTranscriptDisabledError`: Transcripts disabled for video
- `YoutubeTranscriptNotAvailableError`: No transcripts available
- `YoutubeTranscriptNotAvailableLanguageError`: Requested language not available
- `YoutubeTranscriptEmptyError`: Empty response (triggers fallback method)

## License

**[MIT](LICENSE)** Licensed
npm package: @folpe/cralendar
Description: React calendar to manage CRA made easy
Author: Florent PELLEGRIN
Latest version: 1.2.2

# @folpe/cralendar

![NPM Version](https://img.shields.io/npm/v/%40folpe%2Fcralendar)
![NPM License](https://img.shields.io/npm/l/%40folpe%2Fcralendar)

[![🚀 Release](https://github.com/folpe/cralendar/actions/workflows/release.yml/badge.svg)](https://github.com/folpe/cralendar/actions/workflows/release.yml)

Cralendar is a React component that provides a simple and efficient way to manage CRA (Compte Rendu Activité) with an easy-to-use calendar interface.

## Table of Contents

- [@folpe/cralendar](#folpecralendar)
  - [Table of Contents](#table-of-contents)
  - [Installation](#installation)
  - [Usage](#usage)
  - [Props](#props)
  - [Contributing](#contributing)
  - [License](#license)

## Installation

To install Cralendar, make sure you have npm installed on your machine, then run:

```bash
npm install --save @folpe/cralendar
```

## Usage

Here’s a basic example of how to use the Cralendar component:

```tsx
import React from 'react'
import { Calendar } from '@folpe/cralendar'

const App = () => {
  const handleCalendarChange = (data) => {
    console.log('Calendar data:', data)
  }

  return (
    <div>
      <Calendar onCalendarChange={handleCalendarChange} />
    </div>
  )
}

export default App
```

## Props

The Cralendar component accepts the following props:

```tsx
type CralendarProps = {
  date?: Date
  weekStartsOn?: number
  displayBoosterActions?: boolean
  displayWeekDays?: boolean
  displayPrevNext?: boolean
  holidays?: Holidays
  onCalendarChange: (data: ExportedData) => void
}
```

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `date` | `Date` | `new Date()` | The initial date to display |
| `weekStartsOn` | `number` | `1` | The day of the week to start on (0 = Sunday, 1 = Monday, etc.) |
| `displayBoosterActions` | `boolean` | `true` | Whether to display booster actions |
| `displayWeekDays` | `boolean` | `true` | Whether to display week days |
| `displayPrevNext` | `boolean` | `true` | Whether to display previous and next month navigation |
| `holidays` | `Holidays` | `{}` | An object containing holiday information |
| `onCalendarChange` | `function` | Required | Callback function called when calendar data changes |

## Contributing

We welcome contributions to Cralendar! Here’s how you can help:

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

Please make sure to update tests as appropriate.

## License

Cralendar is licensed under the MIT License.

See the LICENSE file for details.

Show your ❤️ and support by giving a ⭐. Any suggestions are welcome!
npm package: @foly/scooter-transactions
Description: Custom transaction types for the Ark Scooter project.
Author: emsy
Latest version: 1.0.0

# Custom scooter transactions
This plugin contains custom transactions built for the Tier-0 Ark Scooters project. 

https://ark.io/projects/ark-scooters

## Installation
1 Add the plugin to your relay node. 
```bash
cd ~/{core-bridgechain}/plugins && git clone https://github.com/e-m-s-y/scooter-transactions.git
```
2 Open `~/.config/{ark-core}/{mainnet|devnet|testnet}/plugins.js` and add the plugin config at the bottom of the file.
```js
"@foly/scooter-transactions": {
    enabled: true
}
```
3 Build the plugin.
```bash
cd ~/{core-bridgechain}
yarn build
```
4 Restart your relay.

## Credits

- [e-m-s-y](https://github.com/e-m-s-y)

## License

[MIT](LICENSE)