open-index/open-npm huggingface dataset:
npm package: @moeru-ai/cosine-similarity
Description: Measures the similarity between two non-zero vectors.
Author: Moeru AI
Latest version: 1.0.0-beta.1

# @moeru-ai/cosine-similarity

## Install

```bash
npm i @moeru-ai/cosine-similarity
```

## Usage

```ts
import { cosineSimilarity } from '@moeru-ai/cosine-similarity'
import { embedMany } from '@xsai/embed'

const { embeddings } = await embedMany({
  baseURL: 'http://localhost:11434/v1/',
  input: ['sunny day at the beach', 'rainy afternoon in the city'],
  model: 'nomic-embed-text',
})

// eslint-disable-next-line @masknet/no-top-level
console.log('cosine similarity:', cosineSimilarity(embeddings[0], embeddings[1]))
```

## License

[MIT](../LICENSE.md)
npm package: @moeru-ai/jem
Description: Your universal model catalog, everything, everywhere, all at once.
Author: moeru-ai
Latest version: 0.1.3-beta.7

# Just Enough Models (JEM)

Your universal model catalog, strong typed, everything, everywhere, all at once.

## Usage

Install the package:

```bash
npm install @moeru-ai/jem
```

Query a model has capabilities:

```typescript
import { hasCapabilities } from '@moeru-ai/jem'

const has = hasCapabilities('openai', 'gpt-4o', ['tool-call'])
```

If you don't know what model you will use, you can use `as` keyword to suppress the type error.

```typescript
import type { Capabilities, ModelNames, ProviderNames } from '@moeru-ai/jem'
import { hasCapabilities } from '@moeru-ai/jem'

const has = hasCapabilities('unknown' as ProviderNames, 'unknown' as ModelNames<ProviderNames>, ['unknown'] as Capabilities<ProviderNames>[])
```
npm package: @moesaid/cleopatra
Description: cleopatra admin dashboard template built especially for developers
Author: Mohamed Said , moesaid.com
Latest version: 1.1.1

![image](https://github.com/moesaid/cleopatra/raw/master/dist/img/index.png)
![image](https://github.com/moesaid/cleopatra/raw/master/dist/img/index-1.png)

[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity) [![Website shields.io](https://img.shields.io/website-up-down-green-red/http/shields.io.svg)](http://shields.io/) [![Ask Me Anything !](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://twitter.com/MohamedSaid__)  [![GitHub tag](https://img.shields.io/github/tag/moesaid/cleopatra.svg)](https://GitHub.com/moesaid/cleopatra/tags/) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/) [![GitHub forks](https://img.shields.io/github/forks/moesaid/cleopatra.svg?style=social&label=Fork&maxAge=2592000)](https://github.com/moesaid/cleopatra) [![GitHub stars](https://img.shields.io/github/stars/moesaid/cleopatra.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/moesaid/cleopatra) [![GitHub watchers](https://img.shields.io/github/watchers/moesaid/cleopatra.svg?style=social&label=Watch&maxAge=2592000)](https://GitHub.com/moesaid/cleopatra/watchers/)






# Cleopatra [live demo](https://moesaid.github.io/cleopatra/)
### Cleopatra – Clean & Minimal tailwind css Admin Dashboard Template

>Looking for an admin dashboard that was made with you in mind, look no further than Cleopatra Admin Template. A powerful admin dashboard template built on **tailwind css**, Cleopatra is **developer-first** Template , rich with features and highly customizable. i'am followed the highest industry standards to bring you the very best admin template that is not only fast and easy to use but highly scalable.


---
**Cleopatra** has been carefully coded with clear comments in all of its JS, SASS and HTML files. SASS has been used to increase code customizability.



## Installation

There are multiple ways to install Cleopatra.

<br>
<br>

**Download:**



<br>

**Using The Command Line:**

**via npm**

`npm install @moesaid/cleopatra`

<br>
<br>

**Via Git**

*Clone to your machine*

`git clone https://github.com/moesaid/cleopatra.git`

<br>
<br>
<br>

**Compile dist files**

your work station is the src file 
you can list files as you wish **( file get compile with gulp )**

- first run `npm install`
- Optional: `npm run dev` (developer mode, autocompile with **browsersync** support for live demo) , will open on port `8080` , `http://localhost:8080/` change that as you want from **gulpfile.js**
- `npm run build` (compile css/js files for production)


<br>
<br>


## License

Cleopatra is an open source project by 
[Mohamed Said](https://moesaid.com) that is licensed under MIT. 

[Mohamed Said](https://moesaid.com) reserves the right to change the license of future releases.
npm package: @moeshin/mdui
Description: a CSS Framework based on material design
Author: MoeShin
Latest version: 1.0.3

# [MDUI](https://mdui.org)

[![GitHub version](https://badge.fury.io/gh/zdhxiong%2Fmdui.svg)](https://badge.fury.io/gh/zdhxiong%2Fmdui)
[![npm version](https://img.shields.io/npm/v/mdui.svg)](https://www.npmjs.com/package/mdui)
[![dependencies Status](https://david-dm.org/zdhxiong/mdui/status.svg)](https://david-dm.org/zdhxiong/mdui)
[![devDependencies Status](https://david-dm.org/zdhxiong/mdui/dev-status.svg)](https://david-dm.org/zdhxiong/mdui?type=dev)
[![Build Status](https://travis-ci.org/zdhxiong/mdui.svg?branch=master)](https://travis-ci.org/zdhxiong/mdui)
[![CDNJS](https://img.shields.io/cdnjs/v/mdui.svg)](https://cdnjs.com/libraries/mdui)

MDUI 是一个基于 Material Design 的前端框架。

QQ群：[635509201](https://jq.qq.com/?_wv=1027&k=53jpYKH)

## [中文文档](https://mdui.org/docs)

## 特性

### 轻量级

- CSS 文件仅 **32KB minified + gzip**
- JavaScript 文件仅 **19KB minified + gzip**

### 多主题

CSS 文件中已经包含了 **19种主色主题**、**16种强调色主题**、**1种夜间主题**，只需添加一个 CSS 类，即可实现主题的切换。

### 响应式

移动优先，可适配所有屏幕。

### 无依赖

MDUI 使用纯 JavaScript 编写，没有任何依赖。

## 获取 MDUI

可以通过下列方式获取 MDUI：

- [下载压缩包](https://github.com/zdhxiong/mdui/releases)
- 从 CDN 获取
```html
<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/mdui@1.0.0/dist/css/mdui.min.css"
  integrity="sha384-2PJ2u4NYg6jCNNpv3i1hK9AoAqODy6CdiC+gYiL2DVx+ku5wzJMFNdE3RoWfBIRP"
  crossorigin="anonymous"
/>
<script
  src="https://cdn.jsdelivr.net/npm/mdui@1.0.0/dist/js/mdui.min.js"
  integrity="sha384-aB8rnkAu/GBsQ1q6dwTySnlrrbhqDwrDnpVHR2Wgm8pWLbwUnzDcIROX3VvCbaK+"
  crossorigin="anonymous"
></script>
```
- 通过 npm 安装: `npm install mdui`
- 从 Github 下载源码: `git clone https://github.com/zdhxiong/mdui.git`

## 兼容性

MDUI 在下列浏览器中经过测试

- IE 11+
- 最新版的 Firefox、Chrome、Safari、Edge

## 赞助

赞助以帮助 MDUI 持续更新

![通过支付宝赞助](https://ww1.sinaimg.cn/large/63f511e3gy1ffhw0jj5n4j206o089dge.jpg)
![通过微信赞助](https://ww1.sinaimg.cn/large/63f511e3gy1ffhw0vkaeaj206o0890ta.jpg)
[![通过 Paypal 赞助](https://ww1.sinaimg.cn/large/63f511e3gy1fff6937xzbj203w00y3yc.jpg)](https://www.paypal.me/zdhxiong/5)
npm package: @moesjarraf/nestjs-common
Description: Nest.js common libraries
Author: Moesjarraf J
Latest version: 1.2.2

[Nest.js](https://github.com/nestjs/nest) common libraries

## Installation

```bash
$ npm install @moesjarraf/nestjs-common
```

## Example

See [this](https://github.com/moesjarraf/nestjs-example) repository for an example.

## Contributing

Commit messages should be formatted according to semantic-release standards, see [this](https://github.com/semantic-release/semantic-release#commit-message-format) link for more information. A tool has been added to the project to make adhering to the standards easier.

```bash
# add source files
git add .

# format commit message
npm run commit

# push
git push -u origin master
```
npm package: @moesjarraf/nestjs-library
Description: Nest.js 3rd party libraries
Author: Moesjarraf J
Latest version: 1.1.0

[Nest.js](https://github.com/nestjs/nest) 3rd party libraries

## Description

This Nest.js module comes with several modules which provide an integration with different 3rd party services.
The module contains a sub module for each service, which can either be imported individually, or collectively by importing the `LibraryModule`.
See the [module folder](https://github.com/moesjarraf/nestjs-library/tree/master/src/modules) for the available sub modules that you can import.

```ts
// app.module.ts
import { Module } from '@nestjs/common';
import { LibraryModule } from '@moesjarraf/nestjs-library';

@Module({
  imports: [LibraryModule],
})
export class AppModule {}
```

## Installation

```bash
$ npm install @moesjarraf/nestjs-library
```

## Configuration

The modules by default load their configuration through `.env` files which are placed in the root folder. These can be suffixed with the environment.
The available suffixes can be found below, and are loaded in the order as they are displayed.

```ts
'.env.development.local',
'.env.development',
'.env.staging',
'.env.production',
'.env.test',
'.env',
```

### Recaptcha v2

The default configuration can be found below, and can be changed by modifying the env variables.

```bash
CAPTCHA_SITE_KEY=
CAPTCHA_SECRET_KEY=
CAPTCHA_ENABLED=
```

### Keycloak

An example keycloak realm configuration can be found [here](https://github.com/moesjarraf/nestjs-example/blob/master/backend/realm-export.json).
The default configuration can be found below, and can be changed by modifying the env variables.

```bash
KEYCLOAK_URL=http://127.0.0.1:8080
KEYCLOAK_REALM=nestjs
KEYCLOAK_CLIENT=nestjs
KEYCLOAK_SECRET=secret
```

## Example

See [this](https://github.com/moesjarraf/nestjs-example) repository for an example.

## Contributing

Commit messages should be formatted according to semantic-release standards, see [this](https://github.com/semantic-release/semantic-release#commit-message-format) link for more information. A tool has been added to the project to make adhering to the standards easier.

```bash
# add source files
git add .

# format commit message
npm run commit

# push
git push -u origin master
```