open-index/open-npm huggingface dataset:
npm package: @mrklika/snake
Description: The classic snake game you know, powered by Angular.
Author: mrklika
Latest version: 1.0.1

# Snake
The classic snake game you know, powered by Angular.

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.0.

## Installation
```bash
npm i @mrklika/snake
```
## Usage
```python
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { SnakeModule } from '@mrklika/snake';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [ AppComponent ],
  imports: [
    BrowserModule,
    SnakeModule
  ],
  bootstrap: [ AppComponent ]
})
export class AppModule { }
```

```python
<snake></snake>

```
## Inputs
```python
@Input()
startingPositions: Position[] = [
  { x: 20, y: 20 },
  { x: 30, y: 20 },
  { x: 40, y: 20 }
];

@Input()
boardSize = 300;

@Input()
speed = SpeedOptions.Slow;

@Input()
foodColor = '#61BB45';

@Input()
snakeColor = '#424242';

@Input()
showPoints = true;
```

## Outputs
```python
@Output()
pointsChanged = new EventEmitter<number>();

@Output()
gameStarted = new EventEmitter<boolean>();
```

## License
[MIT](https://choosealicense.com/licenses/mit)
npm package: @mrkpatchaa/electron-icon-maker-forge
Description: An icon generator to generate all the icon files needed for electron packaging with forge
Author: Médédé Raymond KPATCHAA
Latest version: 0.0.2

## electron-icon-maker for Forge

#### Global usage

Install globally using

```
npm install -g @mrkpatchaa/electron-icon-maker-forge
```

To use

```
electron-icon-maker-forge --input=/absolute/path/file.png --output=./relative/path/to/folder --name=desired-output-icon-name
```

#### Local usage

Install locally
```
npm install --save-dev @mrkpatchaa/electron-icon-maker-forge
```

To use
```
./node_modules/.bin/electron-icon-maker-forge --input=/absolute/path/file.png --output=./relative/path/to/folder --name=desired-output-icon-name
```

#### Arguments

```
--output, -o = [String] Folder to create files
--input, -i = [String] Path to PNG file
--name, -n = [String] Desired output file names
```

#### Recommendations
Input file should be 1024px x 1024px or larger. Make sure it is a 1 to 1 aspect ratio on width to height.

#### Output structure
```
[output dir]
    - [name].icns
    - [name].ico
    - [name].png
    - [name]@2x.png
```
npm package: @mrksbnc/livekit-vue
Description: Vue implementation of the LiveKit componen-js library.
Latest version: 0.0.3

# livekit-vue

Vue implementation of the LiveKit componen-js library.

## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).

## Type Support for `.vue` Imports in TS

TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.

## Customize configuration

See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

```sh
pnpm install
```

### Compile and Hot-Reload for Development

```sh
pnpm dev
```

### Type-Check, Compile and Minify for Production

```sh
pnpm build
```

### Run Unit Tests with [Vitest](https://vitest.dev/)

```sh
pnpm test:unit
```

### Lint with [ESLint](https://eslint.org/)

```sh
pnpm lint
```
npm package: @mrksoftware/codice-fiscale-js
Description: The Italian Tax Code Library for Javascript and Typescript
Author: Luca Vandro
Latest version: 2.5.0

# CodiceFiscale.js
CodiceFiscale.js is a javascript and typescript utility library to compute and validate Italian  Italian Tax code (codice fiscale).



## Change log
**Version 2.0.0**
- Added TypeScript support
- Added Object-oriented API
- Improved performance
- Improved error detection
- Backcompatible

## Installation
**Node**
```sh
npm install codice-fiscale-js --save
```
**Web**
```html
<script src="/dist/codice.fiscale.var.js"></script>
```
AMD, UMD e CommonJS version are available. Check `dist` folder

## Docs
- [Javascript](https://github.com/lucavandro/CodiceFiscaleJS/tree/master/docs/js-oop.md)
- [TypeScript](https://github.com/lucavandro/CodiceFiscaleJS/tree/master/docs/typescript.md)
- [Javascript v1.2.0 deprecated](https://github.com/lucavandro/CodiceFiscaleJS/tree/master/docs/js-static.md)
## Available npm scripts:
- `npm run build`: build the bundle into `dist` directory.
- `npm run test`: launch the tests.
npm package: @mrkvon/ndk-cache-dexie
Description: NDK Dexie Cache Adapter
Latest version: 2.7.9-fix.4

# cache-dexie

NDK cache adapter for [Dexie](https://dexie.org/). Dexie is a wrapper around IndexedDB, an in-browser database.

## Usage

NDK will attempt to use the Dexie adapter to store users, events, and tags. The default behaviour is to always check the cache first and then hit relays, replacing older cached events as needed.

### Install

```
pnpm add @nostr-dev-kit/cache-dexie
```

### Add as a cache adapter

```ts
import NDKCacheAdapterDexie from "@nostr-dev-kit/cache-dexie";

const dexieAdapter = new NDKCacheAdapterDexie({ dbName: 'your-db-name' });
const ndk = new NDK({cacheAdapter: dexieAdapter, ...other config options});
```

🚨 Because Dexie only exists client-side, this cache adapter will not work in pure node.js environments. You'll need to make sure that you're using the right cache adapter in the right place (e.g. Redis on the backend, Dexie on the frontend).

# License

MIT
npm package: @mrkwon/readmoo-api
Description: Readmoo API
Latest version: 1.0.2

# Readmoo API Client

僅供技術研究，不負責本工具造成的任何侵權問題。自己的書自己買。

## Installation & Usage

Install with npm global option:

```bash
npm i Yukaii/readmoo-api#v1.1.0 -g
```

And type the command `readmoo-dl`:

```bash
readmoo-dl
```

The command will ask for your login email & password, enter then choose books to download:

![demo](docs/images/readmoo-api.gif)

## Related Projects

不顧北京反對，一起拖下水

- [readmoo-dl](https://github.com/msglight4874/readmoo-dl) 讀墨 Epub 下載, written in Ruby by [@msglight4874][1]
- [books-dl](https://github.com/msglight4874/books-dl) 博客來 Epub 下載, written in Ruby by [@msglight4874][1]

## LICENSE

WTFPL

[1]: https://github.com/msglight4874
npm package: @mrkwskiti/fluent-ffmpeg-nestjs
Description: fluent-ffmpeg nestjs wrapper
Author: Wasutan Kitijerapat
Latest version: 1.0.0

# Fluent-ffmpeg module for NestJS

## Installation
```bash
yarn add @mrkwskiti/fluent-ffmpeg-nestjs fluent-ffmpeg

yarn add --dev @types/fluent-ffmpeg
```

## Documentation
- [Fluent-Ffmpeg](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#readme)

## Examples

### Import module
```typescript
import { Module } from '@nestjs/common';
import { FluentFfmpegModule } from '@mrkwskiti/fluent-ffmpeg-nestjs'
import { AppController } from './app.controller';

@Module({
  imports: [FluentFfmpegMedule.forRoot()],
  controllers: [AppController],
})
export class AppModule {}
```

### Inject ffmpeg
```typescript
import { Controller, Get, } from '@nestjs/common';
import { InjectFluentFfmpeg, Ffmpeg } from '@mrkwskiti/fluent-ffmpeg-nestjs'

export class AppController {
  constructor(
    @InjectFluentFfmpeg() private readonly ffmpeg: Ffmpeg
  ) {}

  // ...
}
```

## License
MIT
npm package: @mrl.jr.dev/demo-lib
Description: A demo library with utility functions for greetings, calculations, and date formatting
Author: Your Name
Latest version: 1.0.0

# @core-lib/demo-lib

A demo library with utility functions for greetings, calculations, and date formatting. This library demonstrates how to create and publish a TypeScript library using Nx.

## Installation

```bash
npm install @core-lib/demo-lib
```

## Usage

### Import Functions

```typescript
import { createGreeting, calculateSum, formatDate, DemoResult } from '@core-lib/demo-lib';
```

### createGreeting(name: string): DemoResult

Creates a personalized greeting message.

```typescript
const result = createGreeting('John');
console.log(result.message); // "Hello, John! Welcome to the demo library."
console.log(result.data); // { name: 'John', version: '1.0.0' }
```

### calculateSum(numbers: number[]): DemoResult

Calculates the sum of an array of numbers.

```typescript
const result = calculateSum([1, 2, 3, 4, 5]);
console.log(result.message); // "Sum of [1, 2, 3, 4, 5] is 15"
console.log(result.data.sum); // 15
```

### formatDate(date?: Date): DemoResult

Formats a date with locale-specific formatting. Uses current date if no date is provided.

```typescript
const result = formatDate(new Date('2023-01-01'));
console.log(result.message); // "Formatted date: 1/1/2023 12:00:00 AM"
console.log(result.data.iso); // "2023-01-01T00:00:00.000Z"

// Use current date
const currentResult = formatDate();
```

## DemoResult Interface

All functions return a `DemoResult` object with the following structure:

```typescript
interface DemoResult {
  message: string; // Human-readable message
  timestamp: Date; // When the function was called
  data?: any; // Additional data specific to the function
}
```

## Development

This library is built with:

- TypeScript
- Vite (for building)
- Vitest (for testing)
- Nx (for workspace management)

### Building

```bash
npm run build
```

### Testing

```bash
npm run test
```

## License

MIT