open-index/open-npm huggingface dataset:
npm package: @sklyerx/size-convertor
Description: Easily handle file sizes and convert them with human language. The 'ms' package for file sizes
Author: https://github.com/sklyerx
Latest version: 0.0.1

# Size Converter

A lightweight and straightforward utility for handling size conversions in your JavaScript projects.

## Installation

You can install the size converter via npm:

```bash
npm install @sklyerx/size-converter
```

## Usage

After importing the `convert` function, simply call it in the same way you'd use the `ms` function.

```js
import convert from 'size-converter';

const result = convert("20mb", "b");
console.log(result); // Outputs the converted size in bytes
```

### Parameters

- **base**: The original size you want to convert (e.g., `"20mb"`).
- **to**: The target unit for conversion (e.g., `"b"` for bytes).

## Why I Created This

While working on projects that involve file management with **S3** and **UploadThing**, I often encountered the challenge of managing file sizes. It's a critical aspect that can easily be overlooked but is essential for efficient storage and bandwidth management. I grew tired of manually performing these calculations, so I created this utility to automate the process. Now, I can handle file size conversions with ease by simply importing this tool and moving forward with my work.
npm package: @skmd87/capacitor-sms-retriever
Description: Capacitor plugin to retrieve SMS on Android
Author: Samer Draidi
Latest version: 0.0.4

# Capacitor Sms Retriever

Under development plugin for retriving SMS without the need of any permission. Suitable for OTP

CURRENTLY FOR ANDROID ONLY

`npm install @skmd87/capacitor-sms-retriever`

## Usage 
```
import { CapacitorSmsRetriever, } from "@skmd87/capacitor-sms-retriever";
.
.
.

CapacitorSmsRetriever.startListening().then((res:any) => {
		console.log("SMS Content", res.body);
	}).catch((err:any) => {
		console.log("Failed", err);
	});
npm package: @skmd87/nuxt-events
Description: Nuxt Events Module
Latest version: 1.0.6

<!--
Get your module up and running quickly.

Find and replace all on all files (CMD+SHIFT+F):
- Name: My Module
- Package name: @skmd87/nuxt-events
- Description: My new Nuxt module
-->

# Nuxt Events

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

Nuxt Events for global events
- [✨ &nbsp;Release Notes](/CHANGELOG.md)
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/@skmd87/nuxt-events?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->

## Features

<!-- Highlight some of the features your module provide here -->
- Global Events
- Composable
- Typescript support

## Quick Setup

1. Add `@skmd87/nuxt-events` dependency to your project

```bash
# Using pnpm
pnpm add -D @skmd87/nuxt-events

# Using yarn
yarn add --dev @skmd87/nuxt-events

# Using npm
npm install --save-dev @skmd87/nuxt-events
```

2. Add `@skmd87/nuxt-events` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: [
    '@skmd87/nuxt-events'
  ]
})
```

## Usage

```
<template>
  <div>
    <h1>Events</h1>  
    <div>
      <button
        color="primary"
        variant="elevated"
        @click="emit('test-event', 'from useEvent')"
      >
        Send Event (from useEvent)
      </button>
      <button
        color="primary"
        variant="elevated"
        @click="$emit('test-event', 'from useNuxtApp')"
      >
        Send Event (from
        useNuxtApp)
      </button>
    </div>
  </div>
</template>
  
<script lang="ts" setup>
declare module "#NuxtEvents" {
	interface Events {
		'test-event': string;
	}
}
const { emit, on } = useEvents()

const { $emit } = useNuxtApp()

on('test-event', (v) => alert(`test-event received ${v}`))

</script> 
```

## Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@skmd87/nuxt-events/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@skmd87/nuxt-events

[npm-downloads-src]: https://img.shields.io/npm/dm/@skmd87/nuxt-events.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@skmd87/nuxt-events

[license-src]: https://img.shields.io/npm/l/@skmd87/nuxt-events.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@skmd87/nuxt-events

[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @skmd87/vuetify-confirm
Description: vue3 vuetify confirm dialog
Latest version: 1.0.12

<!--
Get your module up and running quickly.

Find and replace all on all files (CMD+SHIFT+F):
- Name: My Module
- Package name: my-module
- Description: My new Nuxt module
-->

# @skmd87/vuetify-confirm

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

Vuetigy Nuxt module to show confirmation dialog

- [✨ &nbsp;Release Notes](/CHANGELOG.md)
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->


## Quick Setup

1. Add `@skmd87/vuetify-confirm` dependency to your project

```bash
# Using pnpm
pnpm add  @skmd87/vuetify-confirm

# Using yarn
yarn add @skmd87/vuetify-confirm

# Using npm
npm install @skmd87/vuetify-confirm
```

2. Add `vuetify-confirm` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: [
    'vuetify-confirm'
  ]
})
```


That's it! You can now use vuetify-confirm in your Nuxt app ✨

## Usage 

In your layout, add vuetify-confirm component inside vuetify app

```
 <v-app>
   <VuetifyConfirm />
 </v-app>
 ```

 and you can use it like this:
 ```
const confirm = useConfirm()
.
.
.
confirm('Are you sure?')
  .then((v) => /* do something if accepted */ )
  .catch(e=> /* do something if rejected */)
 ```

## Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/my-module

[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/my-module

[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/my-module

[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @skmd87/vuetify-validation
Description: Vuetify Validation Nuxt module
Latest version: 1.0.8

<!--
Get your module up and running quickly.

Find and replace all on all files (CMD+SHIFT+F):
- Name: Vuetify Validation
- Package name: @skmd87/vuetify-validation
- Description: My new Nuxt module
-->

# Vuetify Validation

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

My new Nuxt module for doing amazing things.

- [✨ &nbsp;Release Notes](/CHANGELOG.md)
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/@skmd87/vuetify-validation?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->

## Features

<!-- Highlight some of the features your module provide here -->
- ⛰ &nbsp;Foo
- 🚠 &nbsp;Bar
- 🌲 &nbsp;Baz

## Quick Setup

1. Add `@skmd87/vuetify-validation` dependency to your project

```bash
# Using pnpm
pnpm add -D @skmd87/vuetify-validation

# Using yarn
yarn add --dev @skmd87/vuetify-validation

# Using npm
npm install --save-dev @skmd87/vuetify-validation
```

2. Add `@skmd87/vuetify-validation` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: [
    '@skmd87/vuetify-validation'
  ]
})
```

That's it! You can now use Vuetify Validation in your Nuxt app ✨

## Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@skmd87/vuetify-validation/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@skmd87/vuetify-validation

[npm-downloads-src]: https://img.shields.io/npm/dm/@skmd87/vuetify-validation.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@skmd87/vuetify-validation

[license-src]: https://img.shields.io/npm/l/@skmd87/vuetify-validation.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@skmd87/vuetify-validation

[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com