open-index/open-npm huggingface dataset:
npm package: @frsource/autoresize-textarea
Description: Minimalistic plugin to autosize your textareas! 💪
Author: Jakub Freisler
Latest version: 2.0.190

<p align="center">
  <a href="https://www.npmjs.com/package/@frsource/autoresize-textarea">
    <img src="https://img.shields.io/npm/v/@frsource/autoresize-textarea" alt="NPM version badge">
  </a>
  <a href="https://bundlejs.com/?q=%40frsource%2Fautoresize-textarea">
    <img src="https://deno.bundlejs.com/badge?q=@frsource/autoresize-textarea" alt="GZIP size calculated by bundlejs.com">
  </a>
  <a href="https://github.com/semantic-release/semantic-release">
    <img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-release badge">
  </a>
  <a href="https://github.com/FRSOURCE/autoresize-textarea/blob/master/LICENSE">
    <img src="https://img.shields.io/github/license/FRSOURCE/autoresize-textarea" alt="license MIT badge">
  </a>
</p>

<h1 align="center">Autoresize Textarea - minimalistic plugin to autosize your textareas! 💪</h1>

<p align="center">
  <a href="#quick-start">Getting Started</a>
  ·
  <a href="https://www.frsource.org/autoresize-textarea" target="_blank">Demo</a>
  ·
  <a href="https://github.com/FRSOURCE/autoresize-textarea/issues">File an Issue</a>
  ·
  <a href="#questions">Have a question or an idea?</a>
  <br>
</p>

<p align="center">
  <br>
  <i>Tiny library which make your textareas fluid.
    <br>Mobile &amp; desktop-friendly
    <br>Performant & with small bundle size (less than 1.2kB!)
    <br>Published as separate bundles for JS ES5 or modern browsers thanks to <a href="https://www.npmjs.com/package/microbundle">microbundle</a>
    <br>Written completely in <a href="https://www.typescriptlang.org">typescript</a></i>
    <br>Published under <a href="https://opensource.org/licenses/MIT" target="_blank">MIT</a> license</i>
  <br>
  <br>
</p>

## Quick start

### Installation

```bash
npm install @frsource/autoresize-textarea

yarn add @frsource/autoresize-textarea

pnpm add @frsource/autoresize-textarea
```

### Modern JS/Typescript

```ts
import { attach } from '@frsource/autoresize-textarea';
const textarea = document.querySelector('textarea');
const { detach } = attach(textarea);

// detach plugin whenever you want (e.g. on component unmount)
// detach();
```

### UMD

```js
const textarea = document.querySelector('textarea');
const { detach } = window.autoresizeTextarea.attach(textarea);

// detach plugin whenever you want (e.g. on component unmount)
// detach();
```

For working example, check out [our demo](https://www.frsource.org/autoresize-textarea).

## Questions

Don’t hesitate to ask a question directly on the [discussions board](https://github.com/FRSOURCE/autoresize-textarea/discussions)!

## Changelog

Changes for every release are documented in the [release notes](https://github.com/FRSOURCE/autoresize-textarea/releases) and [CHANGELOG file](https://github.com/FRSOURCE/autoresize-textarea/tree/master/CHANGELOG.md).

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Jakub FRS Freisler, FRSOURCE
npm package: @frsource/base64
Description: base64 encoder/decoder with UTF-8 support 📔
Author: Jakub Freisler
Latest version: 1.0.204

<p align="center">
  <a href="https://www.npmjs.com/package/@frsource/base64">
    <img src="https://img.shields.io/npm/v/@frsource/base64.svg" alt="NPM version badge">
  </a>
  <a href="https://www.npmjs.com/package/@frsource/base64">
    <img src="https://img.shields.io/npm/dt/@frsource/base64.svg" alt="NPM total downloads badge">
  </a>
  <a href="https://github.com/semantic-release/semantic-release">
    <img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-relase badge">
  </a>
  <a href="https://github.com/FRSOURCE/base64/blob/main/LICENSE">
    <img src="https://img.shields.io/github/license/FRSOURCE/base64.svg" alt="license MIT badge">
  </a>
</p>

# @frsource/base64

This javascript code is used to encode / decode data using base64 (this encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean). Script is fully compatible with UTF-8 encoding. You can use base64 encoded data as simple encryption mechanism.

If you plan using UTF-8 encoding in your project don’t forget to set the page encoding to UTF-8 (Content-Type meta tag).

## Installation

```bash
npm i @frsource/base64
```

## Usage

```js
// Importing:
// typescript / ES6
import { encode, decode } from '@frsource/base64';

// legacy javscript
const { encode, decode } = require('@frsource/base64');

const encoded = encode('我喜欢解码lubię dekodować');
console.log(encoded); // output: 5oiR5Zac5qyi6Kej56CBbHViacSZIGRla29kb3dhxIc=
const decoded = decode(encoded);
console.log(encoded); // output: 我喜欢解码lubię dekodować
```

## References

Based on webtoolkit.info implementation.
Original source code available at: http://www.webtoolkit.info/javascript_base64.html

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Jakub FRS Freisler, [FRSOURCE](https://www.frsource.org/)

<p align="center">
<a href="https://www.frsource.org/" title="Click to visit FRSOURCE page!">
<img src="https://www.frsource.org/logo.jpg" alt="FRSOURCE logo" height="60px"/>
</a>
</p>
npm package: @frsource/eslint-config
Description: ESLint configuration files used across the FRSOURCE organization.
Author: Jakub Freisler
Latest version: 1.76.0

# @frsource/eslint-config

ESLint configuration files used across the FRSOURCE organization.

> Note: this package aims to provide shared configuration for specific languages/frameworks - it does not necesarily setup globals that are specific to your enviroment. [Always remember to add those using ESLint documentation](https://eslint.org/docs/latest/use/configure/language-options#using-configuration-files).

## Usage

### typescript

```js
// eslint.config.mjs

export { typescript as default } from '@frsource/eslint-config';
```

### javascript

```js
// eslint.config.mjs

export { javascript as default } from '@frsource/eslint-config';
```
npm package: @frsource/frs-hide-scrollbar
Description: CSS-only & easy-to-use solution for cross-browser scrollbar hiding
Author: Jakub Freisler
Latest version: 2.0.135

# @frsource/frs-hide-scrollbar

[![NPM version](https://img.shields.io/npm/v/@frsource/frs-hide-scrollbar.svg?style=flat)](https://www.npmjs.com/package/@frsource/frs-hide-scrollbar)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
![Libraries.io dependency status for the latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@frsource/frs-hide-scrollbar)
[![NPM total downloads badge](https://img.shields.io/npm/dt/@frsource/frs-hide-scrollbar.svg)](https://www.npmjs.com/package/@frsource/frs-hide-scrollbar)
[![Bundle size](https://img.shields.io/bundlephobia/minzip/@frsource/frs-hide-scrollbar)](https://bundlephobia.com/result?p=@frsource/frs-hide-scrollbar)

**@frsource/frs-hide-scrollbar** is a css-only, cross-browser (IE10+, supports both desktop & mobile devices), simple & lightweight library for hiding scrollbars!

Start using **@frsource/frs-hide-scrollbar** today by reading the documentation below:

## Table of contents

- [Installation](https://www.frsource.org/FRS-hide-scrollbar/installation)
- [Usage](https://www.frsource.org/FRS-hide-scrollbar/usage)
- [Example](https://www.frsource.org/FRS-hide-scrollbar/example)
- [Migration from version 1](https://www.frsource.org/FRS-hide-scrollbar/migration-v1)
- [Version 1 documentation](https://www.frsource.org/FRS-hide-scrollbar/v1)
npm package: @frsource/prettier-config
Description: Prettier configuration files used across the FRSOURCE organization.
Author: Jakub Freisler
Latest version: 1.43.0

# @frsource/prettier-config

Prettier configuration files used across the FRSOURCE organization.

## Usage

```js
// prettier.config.mjs

export { default } from '@frsource/prettier-config';
```

### Note

In most cases, you want to disable prettier for any autogenerated files (like `CHANGELOG.md` or `pnpm-lock.yaml`). You can do it like this:

```gitignore
# .prettierignore

pnpm-lock.yaml
CHANGELOG.md
```
npm package: @frsource/release-it-config
Description: Release-it configuration files used across the FRSOURCE organization.
Author: Jakub Freisler
Latest version: 1.55.0

# @frsource/release-it-config

Release-it configuration files used across the FRSOURCE organization.

## Usage

### In monorepo package

```js
// release-it.cjs

const { name } = require('./package.json');
const { monorepoIndependent } = require('@frsource/release-it-config');

module.exports = monorepoIndependent({ pkgName: name });
```
npm package: @frsource/semantic-release-config
Description: Semantic Release configuration files used across the FRSOURCE organization.
Author: Jakub Freisler
Latest version: 1.108.0

# @frsource/semantic-release-config

Semantic Release configuration files used across the FRSOURCE organization.

## Usage

```js
// .releaserc.mjs

export { default } from '@frsource/semantic-release-config';
```
npm package: @frsource/vite-plugin-stylelint
Description: Stylelint plugin for vite.
Author: Jakub Freisler <jakub.freisler@frsource.org>
Latest version: 1.0.2
Deprecated: Deprecated in favor of 'vite-plugin-checker'. Please refer to its' documentation on how to setup stylelint check - https://github.com/fi3ework/vite-plugin-checker/blob/main/docs/checkers/stylelint.md
npm package: @frsource/vite-plugin-vue-dedupe-css-modules
Description: Vite plugin that removes duplicated CSS modules from your Vue JS bundle..
Author: Jakub Freisler
Latest version: 1.1.1
Deprecated: This issue got fixed directly in @vitejs/plugin-vue (https://github.com/vitejs/vite/issues/8048), so this package has been deprecated. See README for more information

# @frsource/vite-plugin-vue-dedupe-css-modules

[![npm](https://img.shields.io/npm/v/@frsource/vite-plugin-vue-dedupe-css-modules)](https://www.npmjs.com/package/@frsource/vite-plugin-vue-dedupe-css-modules)
[![GitHub license](https://img.shields.io/github/license/FRSOURCE/vite-plugin-vue-dedupe-css-modules)](https://github.com/FRSOURCE/vite-plugin-vue-dedupe-css-modules/blob/master/LICENSE)

By default, `@vitejs/plugin-vue` version 2 adds a CSS Module into the output JS bundle every time it's used in your component via [`<style module lang="scss" src="somemodule.scss"></style>` syntax](https://vuejs.org/api/sfc-css-features.html#css-modules). This plugin for vite deduplicates CSS Modules in your Vue application bundle leaving them only once! 🚀

## Install

```bash
npm install @frsource/vite-plugin-vue-dedupe-css-modules --save-dev
# or
yarn add @frsource/vite-plugin-vue-dedupe-css-modules --dev
```

## Usage

```js
import { defineConfig } from 'vite';
import vueDedupeCSSModulesPlugin from '@frsource/vite-plugin-vue-dedupe-css-modules';

export default defineConfig({
  plugins: [vueDedupeCSSModulesPlugin({ /** Options */ })],
});
```

## Options

This plugin can be configured using the configuration options below:

### `include`

- Type: `string | string[]`
- Default: `['src/**/*.css', 'src/**/*.less', 'src/**/*.styl', 'src/**/*.scss', 'src/**/*.sass', 'src/**/*.vue']`

A single file, or array of files, to include when linting.

### `exclude`

- Type: `string | string[]`
- Default: `'node_modules'`

A single file, or array of files, to exclude when linting.

## Development

This project is using yarn version 3. Make sure to use [`yarn set version latest` to download it](https://yarnpkg.com/getting-started/install) before doing any changes.

## License

MIT
npm package: @fru/astro-sprite
Description: Sprite-based SVGs in Astro
Author: Florian Rueberg
Latest version: 1.6.0

# Astro Sprite

[![codecov](https://codecov.io/gh/fru/packages/branch/main/graph/badge.svg?token=1UQCA5TV3E&flag=astro-sprite)](https://codecov.io/gh/fru/packages/tree/main/astro-sprite)

Astro Sprite is an Astro integration that simplifies the use of SVG sprites in your Astro projects. It allows you to easily define and build SVG sprites from various icon sources, including Iconify collections.

## Features

- **Effortless SVG Sprite Generation**: Define your icons and let Astro Sprite build optimized SVG sprites.
- **Iconify Integration**: Seamlessly integrate icons from popular Iconify collections.
- **Flexible Configuration**: Customize sprite names, types, and icon sets.

## Installation

```bash
npm install @fru/astro-sprite
```


## Usage

### Configuration

First, create a file (e.g., `src/sprites.ts`) to define your sprite configuration and build the SVG files. This example demonstrates how to create two sprite stacks, `accordion` and `accordion-horizontal`, using icons from various Iconify collections.

```typescript
// src/sprites.ts
import { buildSvgFiles, buildIconifyResolver, type SpriteConfig } from '@fru/astro-sprite';

// Import icon collections
import { icons as iconsLucide } from '@iconify-json/lucide';
import { icons as iconsMynaui } from '@iconify-json/mynaui';

// Create icon resolvers
const lucide = buildIconifyResolver('lucide', iconsLucide);
const mynaui = buildIconifyResolver('mynaui', iconsMynaui);

// Define your sprite configuration
const config: SpriteConfig[] = [
  {
    name: 'accordion',
    type: 'stack',
    icons: [
      ...lucide(['plus', 'circle-chevron-left']),
      ...mynaui(['arrow-left-square']),
    ],
  },
  {
    name: 'accordion-horizontal',
    type: 'stack',
    icons: lucide(['footprints', 'snowflake', 'bell']),
  },
];

// Build the SVG files
export const sprites = await buildSvgFiles(config);
```

Then, integrate the generated sprites into your `astro.config.mjs` file:

```javascript
// astro.config.mjs
import { defineConfig } from 'astro/config';
import { serve } from '@astrojs/prerender';
import { sprites } from './src/sprites'; // Import your sprites

export default defineConfig({
  integrations: [
    // ... other integrations
    serve('/sprites', sprites) // Integrate Astro Sprite
  ],
});
```

## License

This project is licensed under the MIT License.
npm package: @fru1tworld/tp
Description: Teleport to bookmarked directories
Author: fru1tworld
Latest version: 1.4.0

# tp

Bookmark directories and teleport anywhere.

## Installation

```bash
npm install -g @fru1tworld/tp
```

Add the shell wrapper to your shell config:

```bash
# Add to ~/.zshrc or ~/.bashrc
tp() {
    local output
    output=$(tp-cli "$@")
    if [[ "$output" == __TP_CD__:* ]]; then
        cd "${output#__TP_CD__:}"
    else
        echo "$output"
    fi
}

# Tab completion (Zsh)
_tp_completions_zsh() {
    local commands="add del ch gc list help"
    local aliases=$(tp-cli --completions 2>/dev/null)
    case "$words[2]" in
        del|ch) _values 'alias' ${(f)aliases} ;;
        add|gc|list|help) ;;
        *) _values 'command' $commands ${(f)aliases} ;;
    esac
}
compdef _tp_completions_zsh tp

# Tab completion (Bash)
_tp_completions() {
    local cur="${COMP_WORDS[COMP_CWORD]}"
    local prev="${COMP_WORDS[COMP_CWORD-1]}"
    local commands="add del ch gc list help"
    case "$prev" in
        tp) COMPREPLY=($(compgen -W "$commands $(tp-cli --completions 2>/dev/null)" -- "$cur")) ;;
        del|ch) COMPREPLY=($(compgen -W "$(tp-cli --completions 2>/dev/null)" -- "$cur")) ;;
        *) COMPREPLY=() ;;
    esac
}
complete -F _tp_completions tp
```

Restart your terminal or run `source ~/.zshrc`.

### Nushell

Add to your `config.nu` (usually `~/.config/nushell/config.nu`):

```nu
source /path/to/tp.nu
# Or after npm install -g:
# source (npm root -g | str trim | path join "@fru1tworld/tp" "tp.nu")
```

### Fish

Add to your `config.fish` (usually `~/.config/fish/config.fish`):

```fish
source /path/to/tp.fish
# Or after npm install -g:
# source (npm root -g)/@fru1tworld/tp/tp.fish
```

## Tab Completion

After setup, press `Tab` to autocomplete:

```bash
tp <TAB>        # Shows: add, del, ch, gc, list, help + all bookmarked aliases
tp del <TAB>    # Shows: bookmarked aliases only
tp ch <TAB>     # Shows: bookmarked aliases only
tp wo<TAB>      # Completes to: tp work
```

## Usage

```bash
# Bookmark current directory
tp add work

# Teleport to bookmarked directory
tp work

# List all bookmarks (newest first)
tp list

# Delete bookmark
tp del work

# Rename alias
tp ch work project

# Clean up bookmarks pointing to non-existent directories
tp gc

# Help
tp help
```

## Example

```bash
cd ~/projects/my-app
tp add app          # Added: app -> /Users/me/projects/my-app

cd /
tp app              # Instantly teleport to ~/projects/my-app

tp list
# Bookmarks (newest first):
#   app             -> /Users/me/projects/my-app
```

## Data Location

`~/.tp/bookmarks.json`

## Requirements

- Node.js >= 20
- macOS / Linux
- Supported shells: Bash, Zsh, Fish, Nushell

## License

MIT