open-index/open-npm huggingface dataset:
npm package: @moredip/openfeature-minimalist-provider
Description: An *extremely* simple OpenFeature provider, intended for simple demos and as a test stub.
Latest version: 0.0.3

# @moredip/openfeature-minimalist-provider

An *extremely* simple OpenFeature provider, intended for simple demos and as a test stub.

Flag values are entirely static - evaluation context is ignored and there's no way to update the flags at runtime. 

Only supports boolean and string flags.


## Getting started

### install it
```npm install @moredip/openfeature-minimalist-provider @openfeature/js-sdk```
*note that @openfeature/js-sdk is a required peer dependency*

### set up the provider with some flag values
```
import { MinimalistProvider } from '@moredip/openfeature-minimalist-provider'
import { OpenFeature } from '@openfeature/js-sdk'

const flags = {
  'a-boolean-flag': true,
  'a-string-flag': 'the flag value',
}
const provider = new MinimalistProvider(flags)
OpenFeature.setProvider(provider)
```

### check a flag's value
```
// create a client
const client = OpenFeature.getClient('my-app');

// get a bool value
const boolValue = await client.getBooleanValue('a-boolean-flag', false);
```

## Development

This monorepo uses Nx. 
### Building
`yarn nx build openfeature-minimalist-provider`
### Running unit tests
`yarn nx test openfeature-minimalist-provider`

### Publishing a new version
- bump the version in `package.json`
- `NPM_OTP=XXXXX yarn nx run openfeature-minimalist-provider:publish`
npm package: @morehook/component
Description: 关于 vue 的小型业务组件库
Author: M-cheng-web
Latest version: 1.10.8

# MoreHook/Component

@morehook 下的一些业务组件，不同于专门的组件库，此库专门用来承载一些业务属性很重的组件

## DOCUMENT & DEMO
[https://fastuse.github.io/morehook/component](https://fastuse.github.io/morehook/component)

## Install
``` bash
npm i @morehook/component
```

### CDN

```html
<script src="https://unpkg.com/@morehook/component"></script>
<script src="https://cdn.jsdelivr.net/npm/@morehook/component"></script>
```

## Other
此项目采用 vitepress + rollup 包含打包部署npm包以及对文档的一键部署，用的同样也是 vueuse 那一套流程，去除了单测及一些小点，强烈推荐感兴趣的同学熟悉一番，以下为功能点:
+ 🚀 自动插入 Type 类型声明
+ 🚀 自动插入 Demo 示例
+ 🚀 自动插入 hooks 生成右侧导航栏
+ 🚀 自动辨别 hooks 所属类型在右侧导航栏进行分类
+ 🚀 eslint
+ 🚀 typescript
+ 🚀 脚本打包并发布文档系统

```
@morehook/router 内不包含 vue-router，包体积更小
❌  @morehook/core 内包含 ['js-cookie', 'dayjs', 'easyqrcodejs'] 插件，追求更小包体积的可以联系我
```

## SIGNIFICANCE STATEMENT (重要说明)
作者目的为学习总结 vueuse 并根据平时业务场景总结出一套更适应自己的 hooks，因此项目包含大部分 vueuse 的 hooks（可能会稍加修改去除一些边缘情况），感谢默默付出的大佬们，致敬!

+ [VueUse 官网链接](https://vueuse.org/)
+ [VueUse 作者 antfu](https://github.com/antfu)

## License
[MIT License](https://github.com/M-cheng-web/morehook/blob/main/LICENSE)Copyright (c) 2022 [M-cheng-web](https://github.com/M-cheng-web)
npm package: @morehook/core
Description: 关于vue的一些hooks，兼容vue2+vue3
Author: M-cheng-web
Latest version: 1.10.8

# MoreHook

阅读 vueuse 源码的一些记录以及根据业务总结出的一套 hooks

## DOCUMENT & DEMO
[https://fastuse.github.io/morehook/](https://fastuse.github.io/morehook/)

## Usage
HTML:
``` html
<template>
  <div class="hello">
    <div>
      <p>{{ useBooleanState }}</p>
      <button @click="useBooleanToggle">toggle</button>
      <button @click="setTrue">setTrue</button>
      <button @click="setFalse">setFalse</button>
    </div>
  </div>
</template>
```

JS:
```ts
import { useBoolean } from '@morehook/core'

export default {
  setup() {
    const [
      useBooleanState,
      { toggle: useBooleanToggle, setTrue, setFalse }
    ] = useBoolean()

    return { useBooleanState, useBooleanToggle, setTrue, setFalse }
  },
}
```

## Install
``` bash
npm i @morehook/core
```

### CDN

```html
<script src="https://unpkg.com/@morehook/core"></script>
<script src="https://cdn.jsdelivr.net/npm/@morehook/core"></script>
```

## Other
此项目采用 vitepress + rollup 包含打包部署npm包以及对文档的一键部署，用的同样也是 vueuse 那一套流程，去除了单测及一些小点，强烈推荐感兴趣的同学熟悉一番，以下为功能点:
+ 🚀 自动插入 Type 类型声明
+ 🚀 自动插入 Demo 示例
+ 🚀 自动插入 hooks 生成右侧导航栏
+ 🚀 自动辨别 hooks 所属类型在右侧导航栏进行分类
+ 🚀 eslint
+ 🚀 typescript
+ 🚀 脚本打包并发布文档系统

```
❌ 当前 @morehook/core 内包含 ['js-cookie', 'dayjs', 'easyqrcodejs'] 插件，追求更小包体积的可以联系我
```

## SIGNIFICANCE STATEMENT (重要说明)
作者目的为学习总结 vueuse 并根据平时业务场景总结出一套更适应自己的 hooks，因此项目包含大部分 vueuse 的 hooks（可能会稍加修改去除一些边缘情况），感谢默默付出的大佬们，致敬!

+ [VueUse 官网链接](https://vueuse.org/)
+ [VueUse 作者 antfu](https://github.com/antfu)

## License
[MIT License](https://github.com/M-cheng-web/morehook/blob/main/LICENSE)Copyright (c) 2022 [M-cheng-web](https://github.com/M-cheng-web)
npm package: @morehook/router
Description: 关于 vuerouter 的 hooks
Author: M-cheng-web
Latest version: 1.10.8

# MoreHook/Router

@morehook 下的针对于 `vue-router` 的hooks

## DOCUMENT & DEMO
[https://fastuse.github.io/morehook/router/useRouteQuery](https://fastuse.github.io/morehook/router/useRouteQuery)

## Install
``` bash
npm i @morehook/router
```

### CDN

```html
<script src="https://unpkg.com/@morehook/router"></script>
<script src="https://cdn.jsdelivr.net/npm/@morehook/router"></script>
```

## Other
此项目采用 vitepress + rollup 包含打包部署npm包以及对文档的一键部署，用的同样也是 vueuse 那一套流程，去除了单测及一些小点，强烈推荐感兴趣的同学熟悉一番，以下为功能点:
+ 🚀 自动插入 Type 类型声明
+ 🚀 自动插入 Demo 示例
+ 🚀 自动插入 hooks 生成右侧导航栏
+ 🚀 自动辨别 hooks 所属类型在右侧导航栏进行分类
+ 🚀 eslint
+ 🚀 typescript
+ 🚀 脚本打包并发布文档系统

```
@morehook/router 内不包含 vue-router，包体积更小
❌  @morehook/core 内包含 ['js-cookie', 'dayjs', 'easyqrcodejs'] 插件，追求更小包体积的可以联系我
```

## SIGNIFICANCE STATEMENT (重要说明)
作者目的为学习总结 vueuse 并根据平时业务场景总结出一套更适应自己的 hooks，因此项目包含大部分 vueuse 的 hooks（可能会稍加修改去除一些边缘情况），感谢默默付出的大佬们，致敬!

+ [VueUse 官网链接](https://vueuse.org/)
+ [VueUse 作者 antfu](https://github.com/antfu)

## License
[MIT License](https://github.com/M-cheng-web/morehook/blob/main/LICENSE)Copyright (c) 2022 [M-cheng-web](https://github.com/M-cheng-web)
npm package: @moreillon/express-oidc
Description: This is an authentication middleware that validates JWT from OIDC providers using JWKS.
Author: Maxime MOREILLON
Latest version: 2.2.0

# Express OIDC

This is an authentication middleware that validates JWT from OIDC providers using JWKS.

## Installation

```bash
npm i @moreillon/express-oidc
```

## Usage

```ts
import express, { type Request, type Response } from "express";
import authMiddleware from "@moreillon/express-oidc";

const app = express();
app.use(
  authMiddleware({
    jwksUri: "http://your-identity-provider/path-to-jwks",
  })
);

app.get("/", (req: Request, res: Response) => {
  console.log("GET /data");
  console.log(res.locals.user);
  res.send("Data");
});

app.listen(7070, () => {
  console.log("Express listening");
});
```

## Notes

- Seems to match the content of [this article](https://traveling-coderman.net/code/node-architecture/authentication/)
- [Auth0's express-oauth2-jwt-bearer library](https://github.com/auth0/node-oauth2-jwt-bearer/tree/main/packages/express-oauth2-jwt-bearer) Could be a better alternative
npm package: @moreillon/express_group_based_authorization_middleware
Description: A group based authorization middleware for express
Author: Maxime MOREILLON
Latest version: 2.3.1

# Express Group-based authorization middleware

## Usage

```
// Crerate an express app
const app = require('express')()

// Import the middleware
const group_auth = require('@moreillon/express_group_based_authorization_middleware')

const options = {
  url: 'https://api.groups.example.com/v2/members/self/groups',
  group: 'GROUP_ID'
}

// Register the middleware
app.use(group_auth(options))
```
npm package: @moreillon/express_identification_middleware
Description: An expres middlewware to identify users from their HTTP requests.
Author: Maxime MOREILLON
Latest version: 1.6.0

# Express identification middleware

An expres middlewware to identify users from their HTTP requests.

## Usage

```typescript
import express from "express"
import auth from "@moreillon/express_identification_middleware"

const app = express()
const authOptions = { url: `https://api.users.maximemoreillon.com/users/self` }

app.use(auth(options))

app.listen(8080, () => {
  console.log(`Express server started`)
})
```

## Options

- url: The URL of the identification route of the authentication API
- lax: Boolean, set to true to allow unidentified users
npm package: @moreillon/hono-identification-middleware
Description: Hono middleware for user identification
Author: Maxime MOREILLON
Latest version: 0.0.7

# hono-identification-middleware

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.0.18. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.