open-index/open-npm huggingface dataset:
npm package: @loque/express-simple-auth
Description: Express Simple Auth
Author: Lucas Soler
Latest version: 1.0.0

# Express Simple Auth

**WARNING! This is currently a work-in-progress, very much alpha state!**

Specs

*   All OAuth IETF specs ([IETF](https://tools.ietf.org/wg/oauth/))
*   The OAuth 2.0 Authorization Framework ([IETF](https://tools.ietf.org/html/rfc6749))
*   The OAuth 2.0 Authorization Framework: Bearer Token Usage ([IETF](https://tools.ietf.org/html/rfc6750))
*   OAuth 2.0 Token Revocation ([IETF](https://tools.ietf.org/html/rfc7009))
*   Basic Authentication ([IETF](https://tools.ietf.org/html/rfc7617))([MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication))
*   HTTP/1.1 ([IETF](https://tools.ietf.org/html/rfc2616))
npm package: @loque/server-tools
Description: Install
Author: Lucas Soler
Latest version: 2.0.0

# @loque/server-tools

Install

```
$ yarn global add @loque/server-tools
```

```
$ server-tools nginx configure
```

```
// self-signed keys
openssl req \
	-subj '/CN=\*.domain.localhost' \
	-x509 \
	-newkey rsa:4096 \
	-nodes \
	-keyout nginx/selfsigned/privkey.pem \
	-out nginx/selfsigned/fullchain.pem \
	-days 365

// diffie-hellman group
openssl dhparam -out nginx/dhparam.pem 4096
```

https://x-team.com/blog/a-guide-to-creating-a-nodejs-command/
npm package: @loquendomanzano/react-native-recaptchav3
Description: React native component to use the invisible recaptcha v3 from Google
Author: Jeremy Farnault
Latest version: 1.1.1


# react-native-recaptchav3

[![npm](https://img.shields.io/npm/v/@haskkor/react-native-recaptchav3.svg)](https://www.npmjs.com/package/@haskkor/react-native-recaptchav3) [![npm](https://img.shields.io/npm/dt/@haskkor/react-native-recaptchav3.svg)](https://www.npmjs.com/package/@haskkor/react-native-recaptchav3)

_React native component to use the invisible reCAPTCHA v3 from Google_

https://www.google.com/recaptcha/intro/v3.html

## Installation

```
npm install --save @haskkor/react-native-recaptchav3
```
or
```
yarn add @haskkor/react-native-recaptchav3
```

**Note:** React Native Community Webview requires you to link the native dependencies (https://github.com/react-native-community/react-native-webview/blob/master/docs/Getting-Started.md) 

## Demo

![automatic](https://user-images.githubusercontent.com/10620919/48578194-e1022c80-e97d-11e8-8bb9-6e96a8a25aec.gif)   ![retrybutton](https://user-images.githubusercontent.com/10620919/48578212-ed868500-e97d-11e8-95ab-1d5ec0280b8f.gif)

## Usage

Automatically get a captcha token:

```
import ReCaptchaV3 from '@haskkor/react-native-recaptchav3'

<ReCaptchaV3
  captchaDomain={'https://yourowndomainname.co.nz'}
  siteKey={'yourownsitekey'}
  onReceiveToken={(token: string) => Alert.alert('CAPTCHA', token)}/>
```

One could also use a trigger to request a new token using the reference of the component:

```
import ReCaptchaV3 from '@haskkor/react-native-recaptchav3'

<ReCaptchaV3
  ref={(ref: RecaptchaV3) => this._captchaRef = ref}
  captchaDomain={'https://yourowndomainname.co.nz'}
  siteKey={'yourownsitekey'}
  onReceiveToken={(token: string) => Alert.alert('CAPTCHA', token)}/>

<TouchableOpacity onPress={() => this._captchaRef.refreshToken()}>
  <Text>Retry</Text>
</TouchableOpacity>
```

## Options

| Key | Description | Default | Required | Type |
|---|---|---|---|---|
|**`captchaDomain`**|Your url registered with Google reCAPTCHA|`None`|`true`|`string`|
|**`onReceiveToken`**|The callback used to get the captcha token from the component|`None`|`true`|`(captchaToken: string) => void`|
|**`siteKey`**|The site key provided by Google reCAPTCHA|`None`|`true`|`string`|

## [Changelog](https://github.com/Haskkor/react-native-recaptchav3/blob/master/CHANGELOG.md)

## Contributing

Pull requests are welcome.

## [License](https://github.com/Haskkor/react-native-recaptchav3/blob/master/LICENSE)
npm package: @loquiry/vue-record-audio
Description: A styleless audio recorder button as a vue component
Latest version: 0.4.0

# @loquiry/vue-record-audio

A styleless audio recorder button as a vue component

## Install

`npm i @loquiry/vue-record-audio` or
`yarn add @loquiry/vue-record-audio`

## Usage

```vue
<template>
  <VueRecord class="record" @result="onResult">
    Record
    <template slot="isInitiating">
      Grant microphone permissions
    </template>
    <template slot="isRecording">
      Stop
    </template>
    <template slot="isCreating">
      Creating Sound...
    </template>
  </VueRecord>
</template>

<script>
import VueRecord from "@loquiry/vue-record-audio";

export default {
  components: { VueRecord },
  methods: {
    onResult(data) {
      console.log("record button data:", data.blob);
      console.log("Sound in ms:", data.duration);
    }
  }
};
</script>

<style>
.record.active {
  background: red;
}
</style>
```

## Api

### Result Object

The result is an object containing the blob and the duration of the recording in ms

```js
result = {
  blob: blob,
  duration: 1515.9850000000006,
  type: "audio/wav"
};
```

### Events

- result: fired after recording | returns the [Result Object](#result-object)
- initiated: fired when permissions are successfully granted | returns nothing
- error: fired when an error happens and | returns the error message

### Content

As stated in [Usage](#usage) The component has three slots that will be switched if the button is initiated/recording

### Css Classes

- `.active` when the button is recording
- `.needsInitiation` when the button has never been pressed
- `.creating` when the record stopped and the result is being created

### Props

- `options`: pass an options object as prop `options`

  default:

  ```
  { sampleRate: 44100, bufferSize: 16384 }
  ```

- `isAlreadyInitiated`: immediatly initiation the recorder (helpful when you know a user has already given permissions to use the microphone)

  default: `false`

- `disabled`: html button disabled

## Development

```
yarn install
```

### Compiles and hot-reloads for development

```
yarn run serve
```

## Dependencies

This is only working thanks to

- [recorder-js](https://www.npmjs.com/package/recorder-js)
npm package: @loquix/react
Description: React wrappers for @loquix/core Web Components
Latest version: 0.1.2

# @loquix/react

React wrappers for [@loquix/core](https://www.npmjs.com/package/@loquix/core) Web Components.

Built with [@lit/react](https://www.npmjs.com/package/@lit/react) — provides proper React integration with full prop/event binding for all 35 Loquix components.

## Installation

```bash
npm install @loquix/react @loquix/core lit react
```

## Usage

```tsx
import { ChatContainer, ChatHeader, MessageList, MessageItem, ChatComposer } from '@loquix/react';

function App() {
  return (
    <ChatContainer>
      <ChatHeader slot="header" heading="Chat" />
      <MessageList slot="messages">
        <MessageItem role="user" content="Hello!" />
        <MessageItem role="assistant" content="Hi there!" />
      </MessageList>
      <ChatComposer slot="composer" />
    </ChatContainer>
  );
}
```

## Available Components

### Core Chat

`MessageAvatar` · `TypingIndicator` · `DisclosureBadge` · `CaveatNotice` · `ActionButton` · `ActionCopy` · `ActionFeedback` · `ActionEdit` · `MessageActions` · `MessageContent` · `GenerationControls` · `PromptInput` · `ChatComposer` · `MessageItem` · `MessageList` · `ChatHeader` · `ChatContainer`

### Wayfinding

`SuggestionChips` · `WelcomeScreen` · `FollowUpSuggestions` · `NudgeBanner` · `TemplateCard` · `TemplatePicker` · `ExampleGallery`

### Tuning & Configuration

`ComposerToolbar` · `DropdownSelect` · `AttachmentChip` · `ModeSelector` · `ModelSelector` · `AttachmentPanel` · `ParameterPanel` · `FilterBar` · `MessageAttachments`

## How It Works

Each wrapper is a thin `createComponent()` call from `@lit/react` that maps the underlying Web Component to a React component. Props, events, and slots work as expected in React — no manual `ref` wiring needed.

## Peer Dependencies

- `react` ^18.0.0 or ^19.0.0

## License

MIT
npm package: @lora-payload-magician/nkewatteco-s0
Description: This package is part of the LoRa Payload Magician project which aims to be a collection of LoRa devices' payload builders and parsers.
Latest version: 1.0.0

# Introduction

This package is part of the LoRa Payload Magician project which aims to be a collection of LoRa devices' payload builders and parsers.

## Installation

```shell
$ npm i @lora-payload-magician/nkewatteco-s0
```

## Usage

```
var payload_hex = '110a000f04022300000001';
var d = require('@lora-payload-magician/nkewatteco-s0');
var decoded = d.decode(payload_hex, port);
console.log(`$(decoded.Command.Cluster.Attribute.data.value))
```
## Device Documentation

[Device website](http://support.nke-watteco.com/S0/)
npm package: @lora-payload-magician/risinghf-rhf1s001
Description: lora protocol payload decoder
Author: Tamás Király
Latest version: 1.0.1

# RisingHF RHF1S001

[![Coverage Status](https://coveralls.io/repos/github/lora-payload-magician/risinghf-rhf1s001/badge.svg?branch=master)](https://coveralls.io/github/lora-payload-magician/risinghf-rhf1s001?branch=master)
[![Build Status](https://travis-ci.org/lora-payload-magician/risinghf-rhf1s001.svg?branch=master)](https://travis-ci.org/lora-payload-magician/risinghf-rhf1s001)
[![Dependency Status](https://david-dm.org/lora-payload-magician/risinghf-rhf1s001.svg)](https://david-dm.org/lora-payload-magician/risinghf-rhf1s001)
[![devDependency Status](https://david-dm.org/lora-payload-magician/risinghf-rhf1s001/dev-status.svg)](https://david-dm.org/lora-payload-magician/risinghf-rhf1s001/?type=dev)
[![Known Vulnerabilities](https://snyk.io/test/github/lora-payload-magician/risinghf-rhf1s001/badge.svg)](https://snyk.io/test/github/lora-payload-magician/risinghf-rhf1s001)

## Introduction

This package is part of the LoRa Payload Magician project which aims to be
a collection of LoRa devices' payload builders and decoders.

## Installation

```shell
npm i @lora-payload-magician/risinghf-rhf1s001
```

## Usage

```node
var payload_hex = '016c689d30009029c8';
var d = require('@lora-payload-magician/risinghf-rhf1s1001');
var decoded = d.decode(payload_hex);
console.log(`${decoded.temperature}`)
```

## Device Documentation

[Device website](http://www.risinghf.com/product/rhf1s001/?lang=en)