open-index/open-npm huggingface dataset:
npm package: @lookwe/lit-decorators
Description: Decorators to simplify Lit
Author: Lookwe
Latest version: 1.1.0

# lit-decorators

A collection of standard TC39 decorators designed to simplify event handling and boilerplate in Lit-based applications. These decorators leverage the latest JavaScript standards to provide high-performance, declarative APIs.

## Installation

You can install the library via npm:

```bash
npm i @lookwe/lit-decorators

```

### @command

The `@command` decorator automatically attaches a single `'command'` event listener to your element and routes specific commands to decorated methods. It uses a `WeakMap` internally to ensure that even if you have multiple methods decorated, only **one** event listener is added to the DOM element.

#### Example

```typescript
import { html, LitElement } from 'lit';
import { customElement } from 'lit/decorators.js';

import { command, type CommandOptions } from '@lookwe/lit-decorators/command';

@customElement('my-element')
class MyElement extends LitElement {
	@command('--save')
	handleSave({ source }: CommandOptions) {
		console.log('Save command received from:', source);
	}

	// You can have multiple commands; they share a single event listener.
	@command('--delete')
	handleDelete() {
		console.log('Delete command triggered');
	}

	render() {
		return html`<slot></slot>`;
	}
}
```

#### Parameters:

- **commandType**: A string following the `--${string}` pattern (e.g., `--rotate`, `--close`).
npm package: @lookwe/lui
Description: Lookwe UI web components
Author: Lookwe
Latest version: 1.3.3

# LUI - Lightweight UI Framework

LUI (Lightweight UI) is a minimalistic and efficient user interface framework designed to help developers quickly build simple and elegant UIs. It offers a set of customizable components that are easy to use and integrate into your applications.

## Features

- Lightweight and fast
- Easy-to-use and minimalistic design
- Customizable UI components

## Installation

To use LUI in your project, you can install it via npm.

Via npm:

```bash
npm install @lookwe/lui
```
npm package: @loom-io/base-fs
Description: Bundle of @loom-io modules for filesystem operations
Latest version: 0.11.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# loom-io/base-fs

This is a good place to start with @loom-io and a local filesystem. This Bundle includes:

- @loom-io/core
- @loom-io/node-filesystem-adapter
- @loom-io/yaml-converter
- @loom-io/json-converter

## Just start

You can easily replace this with a non bundle version and to registration of adapter and converter yourself, this bundle just help you to concentrate on your filesystem and not on how to add and configure plugins.
The root of the bundle is every time your project root. To change de scope go along without the bundle.

```ts
import Loom from "@loom-io/base-fs";

const dir = await Loom.dir("file://welcome");
const file = dir.file("hello-world.md");
// till here everything is virtual and do not have to exit on your filesystem;

console.log(await file.exists()); // Will be false;
console.log(await dir.exists()); // Will be false;

// create an empty file welcome/hello-world.md
await file.create();

console.log(await dir.exists()); // Will be true;
console.log(await file.exists()); // Will be false;
```

## Documentation of loom-io

loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com) for more details.
npm package: @loom-io/common
Description: Common functions for loom-io
Author: Wolfgang Rathgeb
Latest version: 1.0.2

# @loom-io/common

This package including some often used functions in the loom-io context. Maybe it could help you to develop plugins for @loom-io. If you just wanna start with @loom-io and file handling take a look at the documentation [documentation](https://loom-io.cotton-coding.com/core/setup) or start with a bundle like [@loom-io/base-fs](https://www.npmjs.com/package/@loom-io/base-fs)

## Documentation of @loom-io

> loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com) for more details.
npm package: @loom-io/converter
Description: Combines loom-io converters to convert from or to files
Author: Cotton Coding
Latest version: 0.12.11

# @loom-io/core

Website: https://loom-io.cotton-coding.com \
Documentation: https://loom-io.cotton-coding.com/core/intro

Welcome to the loom-io core package. These is the heart of the loom-io library, but you will need to add some additional libraries to get it work. Take a look at the [documentation](https://loom-io.cotton-coding.com/core/intro) to get started. Have fun and make your live with files easier.
npm package: @loom-io/core
Description: A file system wrapper for Node.js and Bun
Author: Cotton Coding
Latest version: 0.12.11

# @loom-io/core

Website: https://loom-io.cotton-coding.com \
Documentation: https://loom-io.cotton-coding.com/core/intro

Welcome to the loom-io core package. These is the heart of the loom-io library, but you will need to add some additional libraries to get it work. Take a look at the [documentation](https://loom-io.cotton-coding.com/core/intro) to get started. Have fun and make your live with files easier.
npm package: @loom-io/front-matter-converter
Description: Convert front matter yaml and json into json from loom-io files
Author: Wolfgang Rathgeb
Latest version: 0.12.11

# @loom-io/front-matter-adapter

Converts yml and yaml files to JSON and wise versa.

```sh
npm add @loom-io/front-matter-adapter
```

## Documentation of loom-io

loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com/converter/front-matter-converter) for more details.
npm package: @loom-io/in-memory-adapter
Description: A file system wrapper for Node.js and Bun
Author: Cotton Coding
Latest version: 0.12.11

# @loom-io/in-memory-adapter

This adapter was manly created for testing, but if you have a use case for a real world problem, feel free to use it. Because it is used to test the core library it should be the best tested adapter, so feel save.
Feel also free to use it for you unit tests.

```sh
npm add @loom-io/in-memory-adapter
```

## Documentation of loom-io

loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com) for more details.
npm package: @loom-io/json-converter
Description: A plugin for @loom-io to convert json files to JSON
Author: Wolfgang Rathgeb
Latest version: 0.12.11

# @loom-io/json-adapter

Converts json files to JSON and wise versa.

```sh
npm add @loom-io/json-adapter
```

## Documentation of loom-io

loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com/converter/json-converter) for more details.
npm package: @loom-io/minio-s3-adapter
Description: A file system wrapper for Node.js and Bun
Author: Cotton Coding
Latest version: 0.12.11

# @loom-io/minio-s3-adapter

This adapter lets loom-io access your s3. So you can navigation through your s3 Directories and Files with @loom-io/core.
It is based on the JavaScript minio library, but could be also used for any other s3-like storage.

```sh
npm add @loom-io/minio-s3-adapter
```

## Documentation of loom-io

loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com) for more details.
npm package: @loom-io/node-filesystem-adapter
Description: A file system wrapper for Node.js and Bun
Author: Cotton Coding
Latest version: 0.12.11

# @loom-io/node-filesystem-adapter

This adapter lets loom-io access your filesystem. So you can navigation through your local Directories and Files with @loom-io/core.

```sh
npm add @loom-io/node-filesystem-adapter
```

## Documentation of loom-io

loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com) for more details.
npm package: @loom-io/yaml-converter
Description: Convert yaml files to json with loom-io
Author: Wolfgang Rathgeb
Latest version: 0.12.11

# @loom-io/yaml-adapter

Converts yml and yaml files to JSON and wise versa.

```sh
npm add @loom-io/yaml-adapter
```

## Documentation of loom-io

loom-io will help you reading files of any size from different source more easily. See [documentation](https://loom-io.cotton-coding.com/converter/yaml-converter) for more details.