open-index/open-npm huggingface dataset:
npm package: @k-ziran/strapi-provider-email-brevo-k
Description: Strapi email provider for Brevo
Author: Kristoffer Grönlund
Latest version: 0.0.10

# Strapi email provider for Brevo

Note: This plugin should be considered experimental until 1.0.0 is released.

Why use this and not `strapi-provider-email-brevo`?

- No external dependencies (uses node fetch)
- Handle sender name and email in a more correct way
- Send templated email using Brevo mail templates

## Example configuration

```js
module.exports = ({ env }) => ({
  // ...
  email: {
    config: {
      provider: '@k-ziran/strapi-provider-email-brevo-k',
      providerOptions: {
        apiKey: env('BREVO_API_KEY'),
      },
      settings: {
        defaultFromName: 'My Name',
        defaultFrom: 'myemail@brevo.com',
        defaultReplyToName: 'My Name',
        defaultReplyTo: 'myemail@brevo.com',
      },
    },
  },
  // ...
});
```
npm package: @k.iryna/vue3-context-menu
Description: A context menu component for Vue3
Author: imengyu
Latest version: 1.4.3


# vue3-context-menu

一个使用 Vue3 制作的简洁美观简单的右键菜单组件

![截图](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/first.png)

---

## 特性

* 简洁易用，体积小
* 提供组件模式和函数模式，调用方便
* 提供多个菜单主题供您使用
* 可自定义

### 用法

```
npm install -save @imengyu/vue3-context-menu
```

然后在 main.ts 中导入:

```js
import '@imengyu/vue3-context-menu/lib/vue3-context-menu.css'
import ContextMenu from '@imengyu/vue3-context-menu'

createApp(App).use(ContextMenu)     
```

然后你就可以在 vue 文件中使用菜单了:

```js
import ContextMenu from '@imengyu/vue3-context-menu'

onContextMenu(e : MouseEvent) {
  //prevent the browser's default menu
  e.preventDefault();
  //show your menu
  ContextMenu.showContextMenu({
    x: e.x,
    y: e.y,
    items: [
      { 
        label: "A menu item", 
        onClick: () => {
          alert("You click a menu item");
        }
      },
      { 
        label: "A submenu", 
        children: [
          { label: "Item1" },
          { label: "Item2" },
          { label: "Item3" },
        ]
      },
    ]
  }); 
}
```

关于详细的用法，请参考文档。

## 文档

[查看文档](https://imengyu.top/pages/vue3-context-menu-docs/)

[查看在线演示](https://imengyu.top/pages/vue3-context-menu-demo/)

## 开发

```shell
git clone git@github.com:imengyu/vue3-context-menu.git
cd vue3-context-menu
npm install
npm serve
```

## 已有主题

|theme|explain|example image|
|--|--|--|
|`default`|Default theme|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-default.jpg)|
|`default dark`|Default theme with dark|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-default-dark.jpg)|
|`flat`|Simple flat theme|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-flat.jpg)|
|`flat dark`|Simple flat theme with dark|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-flat-dark.jpg)|
|`win10`|Win10 like theme|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-win10.jpg)|
|`win10 dark`|Win10 like theme with dark|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-win10-dark.jpg)|
|`mac`|Mac like theme|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-mac.jpg)|
|`mac dark`|Mac like theme with dark|![example-default-dark.jpg](https://raw.githubusercontent.com/imengyu/vue3-context-menu/main/screenshot/example-mac-dark.jpg)|

## License

[MIT](./LICENSE)
npm package: @k.sh/config.typescript
Description: [![npm version](https://badge.fury.io/js/%40k.sh%2Fconfig.typescript.svg)](https://badge.fury.io/js/%40k.sh%2Fconfig.typescript) [![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)
Author: Karolis Šarapnickis
Latest version: 0.1.1

# @k.sh/config.typescript

[![npm version](https://badge.fury.io/js/%40k.sh%2Fconfig.typescript.svg)](https://badge.fury.io/js/%40k.sh%2Fconfig.typescript)
[![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)

> A `tsconfig.json` preset with best practices enabled

## Installation

`yarn add -D @k.sh/config.typescript`

## Setup

```json
{
  "extends": "@k.sh/config.typescript/config.json"
}
```

## References

- [Mike's "bare bones" TS setup](https://github.com/mike-north/professional-ts/blob/master/notes/04-mikes-ts-setup.md)

[package-version-badge]: https://badge.fury.io/js/@k.sh/config.typescript.svg
[package-version]: https://www.npmjs.com/package/@k.sh/config.typescript
npm package: @k.sh/eslint-config
Description: [![npm version][package-version-badge]][package-version] [![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)
Author: Karolis Šarapnickis
Latest version: 3.0.2

# `@k.sh/eslint-config`

[![npm version][package-version-badge]][package-version]
[![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)

> An ESLint config with best practices enabled for JavaScript projects

## Installation

`yarn add -D @k.sh/eslint-config`

## Setup

1. Update ESLint config

```sh
cat <<EOT > .eslintrc.json
{
  "extends": "@k.sh"
}
EOT
```

[package-version-badge]: https://badge.fury.io/js/@k.sh%2Feslint-config.svg
[package-version]: https://www.npmjs.com/package/@k.sh/eslint-config
npm package: @k.sh/eslint-config-typescript
Description: [![npm version][package-version-badge]][package-version] [![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)
Author: Karolis Šarapnickis
Latest version: 0.1.2

# `@k.sh/eslint-config-typescript`

[![npm version][package-version-badge]][package-version]
[![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)

> An ESLint config with best practices enabled for TypeScript projects

## Installation

`yarn add -D @k.sh/eslint-config-typescript @k.sh/eslint-config`

## Setup

1. Update ESLint config

```sh
cat <<EOT > .eslintrc.json
{
  "extends": "@k.sh",
  "overrides": [
    {
      "files": ["**/*.ts", "**/*.tsx"],
      "extends": "@k.sh/eslint-config-typescript"
    }
  ]
}
EOT
```

[package-version-badge]: https://badge.fury.io/js/@k.sh%2Feslint-config-typescript.svg
[package-version]: https://www.npmjs.com/package/@k.sh/eslint-config-typescript
npm package: @k.sh/eslint-plugin
Description: [![npm version][package-version-badge]][package-version] [![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)
Author: Karolis Šarapnickis
Latest version: 0.9.1

# `@k.sh/eslint-plugin`

[![npm version][package-version-badge]][package-version]
[![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)

> An ESLint config with best practices enabled for JavaScript projects

## Installation

`npm i -D @k.sh/eslint-plugin eslint`

## Setup

1. Choose core config (`es5` | `esnext` | `typescript`):

```sh
cat << EOT > .eslintrc.json
{
  "extends": ["plugin:@k.sh/esnext"]
}
EOT
```

2. (**Optional**) Add any augmentations you're using (`jest`, `node`, `react`):

```json
{
  "extends": ["plugin:@k.sh/esnext", "plugin:@k.sh/node", "plugin:@k.sh/jest"]
}
```

3. (**Optional**) Finish off with prettier:

```json
{
  "extends": [
    "plugin:@k.sh/esnext",
    "plugin:@k.sh/node",
    "plugin:@k.sh/jest",
    "plugin:@k.sh/prettier"
  ]
}
```

## References

- [`@shopify/eslint-plugin`](https://github.com/Shopify/web-configs)

[package-version-badge]: https://badge.fury.io/js/@k.sh%2Feslint-plugin.svg
[package-version]: https://www.npmjs.com/package/@k.sh/eslint-plugin
npm package: @k.sh/prettier-config
Description: [![npm version][package-version-badge]][package-version] [![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)
Author: Karolis Šarapnickis
Latest version: 0.5.0

# `@k.sh/prettier-config`

[![npm version][package-version-badge]][package-version]
[![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)

## Installation

`npm i -D @k.sh/prettier-config prettier`

## Setup

1. Create config file

```sh
cat << EOT > .prettierrc.js
module.exports = require('@k.sh/prettier-config');
EOT
```

2. Update `.prettierignore` to something like this

```sh
cat << EOT > .prettierignore
*
!*/
!*.json
!*.md
!*.yml
!*.js

# npm files
node_modules
package.json
EOT
```

[package-version-badge]: https://badge.fury.io/js/@k.sh%2Fprettier-config.svg
[package-version]: https://www.npmjs.com/package/@k.sh/prettier-config
npm package: @k.sh/typescript-config
Description: [![npm version][package-version-badge]][package-version] [![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)
Author: Karolis Šarapnickis
Latest version: 0.4.1

# `@k.sh/typescript-config`

[![npm version][package-version-badge]][package-version]
[![License: MIT](https://img.shields.io/badge/license-mit-yellow.svg)](https://opensource.org/licenses/MIT)

> A `tsconfig.json` preset with best practices enabled

## Installation

`npm i -D @k.sh/typescript-config`

## Setup

1. Update `tsconfig.json`

```sh
cat << EOT > tsconfig.json
{
  "extends": "@k.sh/typescript-config/config.json"
}
EOT
```

## References

- [Mike's "bare bones" TS setup](https://github.com/mike-north/professional-ts/blob/master/notes/04-mikes-ts-setup.md)

[package-version-badge]: https://badge.fury.io/js/@k.sh%2Ftypescript-config.svg
[package-version]: https://www.npmjs.com/package/@k.sh/typescript-config
npm package: @k03mad/actual-versions
Description: Get actual versions of some tools
Latest version: 9.5.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Get actual versions of some tools

## CLI

```bash
npm i @k03mad/actual-versions -g
acver
# ╔════════╤═══════════════╗
# ║ aria   │ 1.37.0        ║
# ╟────────┼───────────────╢
# ║ chrome │ 127.0.6533.99 ║
# ╟────────┼───────────────╢
# ║ curl   │ 8.9.1         ║
# ╟────────┼───────────────╢
# ║ nodejs │ 22.6.0        ║
# ╚════════╧═══════════════╝
```

## API

```bash
npm i @k03mad/actual-versions
```

```js
import {
    getAriaVersion
    getChromeVersion,
    getCurlVersion,
    getNodeJsVersion,
} from '@k03mad/actual-versions';

const ariaVersion = await getAriaVersion();
// '1.37.0'

const chromeVersion = await getChromeVersion();
// '126.0.6478.182'

const curlVersion = await getCurlVersion();
// '8.8.0'

const nodeJsVersion = await getNodeJsVersion();
// '22.6.0'
```