open-index/open-npm huggingface dataset:
npm package: @ruangnazi/log4js-dingbot
Description: log4js dingding appender
Author: 326737833@qq.com
Latest version: 1.0.1

# dingtalk(钉钉) log4js appender

send log to ding bot.

ratelimit is 20/min

## Install
npm
```bash
npm install log4js @ruangnazi/log4js-dingbot
```
yarn
```bash
yarn add log4js @ruangnazi/log4js-dingbot
```

## Configuration

+ `type` - `@ruangnazi/log4js-dingbot`
+ `access_token` - `string` - your access_token
+ `secret` - `string` (optional, defaults to `null`) - your secret, see [robot Webhook api](https://developers.dingtalk.com/document/app/custom-robot-access)
+ `sendInterval` - `integer` (optional, defaults to `3`) - batch ding and send in ding every sendInterval seconds, if 0 then every log message will send an ding. see [api ratelimit](https://developers.dingtalk.com/document/app/invocation-frequency-limit)
+ `splitSendInterval` - `integer` (optional, defaults to `3`) - log message long than 19000 bytes will spilt to send every splitSendInterval seconds.
+ `shutdownTimeout` - `integer` (optional, defaults to `5`) - time in seconds to wait for emails to be sent during shutdown
+ `layout` - `object` (optional, defaults to basicLayout) - see [layouts](layouts.md)

## Example

```javascript
log4js.configure({
  appenders: {
    out: { type: 'stdout' },
    dingbot: {
      type: '@ruangnazi/log4js-dingbot',
      access_token: 'access_token',
      secret: 'secret',
      sendInterval: 5
    }
  },
  categories: { default: { appenders: ['out', 'dingbot'], level: 'debug' } }
})

const app = log4js.getLogger()
app.info('测试钉钉')
```
npm package: @ruanitto/adonis-drive-google
Description: Google Cloud Storage Driver for Adonis Drive
Author: Dimas Satrio
Latest version: 0.2.1

# @ruanitto/adonis-drive-google 💾 

Google Cloud Storage driver for AdonisJS Drive

# Requirements
- [AdonisJS Drive](https://github.com/adonisjs/adonis-drive) (`adonis install @adonisjs/drive`)

# Installation
```
adonis install @ruanitto/adonis-drive-google
```

# Instructions
Make sure to register the provider inside `start/app.js` file.

```js
const providers = [
  ...
  '@ruanitto/adonis-drive-google/providers/DriveProvider'
]
```

Add new configuration inside `disks` module in `config/drive.js`:

```js
gcs: {
  driver: 'gcs',
  keyFilename: Env.get('GCS_KEY_FILE_NAME'), // path to json file
  bucket: Env.get('GCS_BUCKET')
}
```

Add google cloud storage variables in `.env`:
```
GCS_KEY_FILE_NAME=
GCS_BUCKET=
```

# Examples
## Find if a file exists or not.

```js
const isExists = await Drive.disk('gcs').exists('adonis.jpeg')
```

## Change bucket
You can change bucket at runtime, just passing the bucket name before action.

```js
const isExists = await Drive.disk('minio').bucket('new-bucket').exists('adonis.jpeg')
```

Complete example please go to [this link](examples/routes.js)

# Thanks
Special thanks to the creator(s) of [AdonisJS](http://adonisjs.com/) for creating such a great framework.
npm package: @ruanitto/adonis-logger-azure-application-insights
Description: Azure Application Insights logger for AdonisJS
Author: Alexander Wennerstrøm
Latest version: 5.0.10

<div align="center">
  <img src="https://res.cloudinary.com/adonisjs/image/upload/q_100/v1558612869/adonis-readme_zscycu.jpg" width="600px">
</div>

<br />

<div align="center">
  <h3>AdonisJS Logger x Azure Application Insights</h3>
  <p>
    Azure Application Insights driver for AdonisJS Logger.
  </p>
</div>

<br />

<div align="center">

[![gh-workflow-image]][gh-workflow-url] [![CodeQL-image]][CodeQL-url] [![npm-download-image]][npm-download-url] [![npm-version-image]][npm-version-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]

</div>

<div align="center">
  <h3>
    <a href="https://adonisjs.com">
      AdonisJs
    </a>
    <span> | </span>
    <a href="instructions.md">
      Azure Application Insights Guide
    </a>
    <span> | </span>
    <a href="CONTRIBUTING.md">
      Contributing
    </a>
  </h3>
</div>

<div align="center">
  <sub>Built with ❤︎ by <a href="https://twitter.com/AlexanderYW">Alexander Wennerstrøm</a>
</div>

[gh-workflow-image]: https://img.shields.io/github/workflow/status/AlexanderYW/adonis-logger-azure-application-insights/Test%20package?label=Test&style=for-the-badge
[gh-workflow-url]: https://github.com/AlexanderYW/adonis-logger-azure-application-insights/actions/workflows/test-package.yml "Test"

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]:  "typescript"

[npm-download-image]: https://img.shields.io/npm/dm/adonis-logger-azure-application-insights.svg?style=for-the-badge&logo=npm
[npm-download-url]: https://npmjs.org/package/adonis-logger-azure-application-insights "npm"
  
[npm-version-image]: https://img.shields.io/npm/v/adonis-logger-azure-application-insights.svg?style=for-the-badge&logo=npm
[npm-version-url]: https://npmjs.org/package/adonis-logger-azure-application-insights "npm"

[license-image]: https://img.shields.io/npm/l/adonis-logger-azure-application-insights?color=blueviolet&style=for-the-badge
[license-url]: LICENSE.md "license"

[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/alexanderyw/adonis-logger-azure-application-insights?label=Synk%20Vulnerabilities&style=for-the-badge
[synk-url]: https://snyk.io/test/github/alexanderyw/adonis-logger-azure-application-insights?targetFile=package.json "synk"

[CodeQL-image]: https://img.shields.io/github/workflow/status/alexanderyw/adonis-logger-azure-application-insights/CodeQL?label=CodeQL&style=for-the-badge
[CodeQL-url]: https://github.com/AlexanderYW/adonis-logger-azure-application-insights/actions?query=workflow%3ACodeQL "CodeQL"
npm package: @ruanitto/adonis5-jwt
Description: AdonisJS 5 JTW Provider
Author: Rafael Gomes
Latest version: 0.0.1

# @ruanitto/adonis5-jwt
> Tagline

[![github-actions-image]][github-actions-url] [![npm-image]][npm-url] [![license-image]][license-url] [![typescript-image]][typescript-url]

A short brief

## Installation

## Usage

[github-actions-image]: https://github.com/adonis5-jwt/actions/workflows/test.yml
[github-actions-url]: https://img.shields.io/github/workflow/status/adonis5-jwt/test?style=for-the-badge "github-actions"

[npm-image]: https://img.shields.io/npm/v/@ruanitto/adonis5-jwt.svg?style=for-the-badge&logo=npm
[npm-url]: https://npmjs.org/package/@ruanitto/adonis5-jwt "npm"

[license-image]: https://img.shields.io/npm/l/@ruanitto/adonis5-jwt?color=blueviolet&style=for-the-badge
[license-url]: LICENSE.md "license"

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]:  "typescript"
npm package: @ruanitto/adonis5-sentry
Description: Sentry provider for AdonisJS 5
Author: Evgeniy Ryumin
Latest version: 1.1.0


# Adonis5-Sentry
> Sentry, Sentry SDK for Node JS , AdonisJS, Sentry for Adonis

[![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]

Sentry service provider for Adonis-5 

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of contents

- [Installation](#installation)
- [Sample Usage](#sample-usage)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

# Installation
```bash
npm i --save adonis5-sentry
```
Compile your code:
```bash
node ace serve --watch
```
Connect all dependences:
```bash
node ace invoke adonis5-sentry
```
* For other configuration, please update the `config/sentry.ts`.

# Sample Usage
After loading all providers Sentry service will be initialized. After this you can import Sentry service anywhere in your application in such way:
```js
 import Sentry from '@ioc:Adonis/Addons/Sentry'
```
* Then you have to send your error details to Sentry. You can use Adonis Exception Handler for this purposes. For example you can implement such Exception Handler:
  ```js
  import Sentry from '@ioc:Adonis/Addons/Sentry'  
  import Logger from '@ioc:Adonis/Core/Logger'
  import HttpExceptionHandler from '@ioc:Adonis/Core/HttpExceptionHandler'
  
  export default class ExceptionHandler extends HttpExceptionHandler {
    constructor () {
      super(Logger)
    }
  
    public async handle (error, ctx) {
      Sentry.captureException(error)
      return super.handle(error, ctx)
    }
  }
  ```

For additional details of Sentry API, please check the Sentry SDK documentation by this link [Sentry docs](https://docs.sentry.io/platforms/node/?platform=node)

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]:  "typescript"

[npm-image]: https://img.shields.io/npm/v/adonis5-sentry.svg?style=for-the-badge&logo=npm
[npm-url]: https://npmjs.org/package/adonis5-sentry "npm"

[license-image]: https://img.shields.io/npm/l/adonis5-sentry?color=blueviolet&style=for-the-badge
[license-url]: LICENSE.md "license"
npm package: @ruanitto/jsreport-pdf-password
Description: jsreport extension adding password protection to PDF reports
Author: BJR Matos
Latest version: 2.4.1


> ⚠️ This extension is deprecated because it is part of the [jsreport-pdf-utils](https://jsreport.net/learn/pdf-utils) now.

# jsreport-pdf-password

[![NPM Version](http://img.shields.io/npm/v/jsreport-pdf-password.svg?style=flat-square)](https://npmjs.com/package/jsreport-pdf-password)[![Build Status](https://travis-ci.org/jsreport/jsreport-pdf-password.png?branch=master)](https://travis-ci.org/jsreport/jsreport-pdf-password)

> jsreport extension adding password protection to PDF reports

![demo](demo.gif)

Adding `pdf-password` extension will let you add password protection to PDF rendered by any PDF recipe extension (such as [jsreport-phantom-pdf](https://github.com/jsreport/jsreport-phantom-pdf/), [jsreport-electron-pdf](https://github.com/bjrmatos/jsreport-electron-pdf), etc)

## Installation

> **npm install jsreport-pdf-password**

## Usage

To use `pdf-password` in template rendering set the available [options](#options) for password protection in the request.

```js
{
  template: {
    content: '...',
    recipe: '...',
    engine: '...',
    pdfPassword: {
      active: true,
      password: '1234'
      /* ...other options... */
    }
  }
}
```

## Options

- `active` `(Boolean)` -> tells if password protection should be active in this request, defaults to `false`.
- `password` `(String)` -> The password to be used when protecting the pdf, this option is `required` when the `active` option is `true`.
- `ownerPassword` `(String)` -> The owner password is used to protect the pdf file from modifications
- `protectionLevel` `(Number)` -> Specifies the level of protection for the pdf, posibles values are:

  - `-1` -> none, the `default` level will be used
  - `3` -> allow the user to print the document
  - `4` -> allow modification of the document
  - `5` -> allow copying or extracting text and graphics from the document, this is the `default` used if none is set
  - `6` -> allow adding text annotations, fill form field
  - `9` -> allow filling forms
  - `10` -> allow extracting text and graphics in support of accessibility only
  - `11` -> allow assembling the document. rotate, insert, delete pages, bookmarks and thumbnails
  - `12` -> allow printing the document in a good res. Setting just 3 will normally print a low res form

  this option requires `ownerPassword` option to be set

## jsreport-core
You can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)

```js
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-pdf-password')())
```
npm package: @ruanmartinelli/prettier-config
Description: > My own personal [prettier](https://prettier.io) configuration.
Latest version: 2.0.0

# @ruanmartinell/prettier-config

> My own personal [prettier](https://prettier.io) configuration.

## Usage

#### Install

```bash
yarn add -D @ruanmartinelli/prettier-config
```

#### Edit `package.json`

Add the `¨prettier¨` key to your package.json file:

```
{
    // ...
    "prettier": "@ruanmartinelli/prettier-config"
}
```

## License

MIT © [Ruan Martinelli](https://github.com/ruanmartinelli)
npm package: @ruanwenfeng/aestool
Description: aestool
Author: ruanwenfeng
Latest version: 1.1.16

### npm
```
npm i @ruanwenfeng/aestool
```

### use
```
// webpack config
const aesconfig = require("@ruanwenfeng/aestool/lib/aes.web.config");
{
    plugins: [
        ...aesconfig.plugins,
    ],
}
```

```
import AesTool from '@ruanwenfeng/aestool';
await AesTool.init();
const aesTool = new AesTool();
```

### for debug
```
// webpack config
{
    plugins: [
        ...otherplugins,
        // last config
        ...aesconfig.plugins,
        new CopyPlugin([
            { from: "debug.aes.wasm" /* your debug aes.wasm file*/, to: "wasm/aes.wasm", force: true },
        ]),
    ],
}
```
npm package: @ruas/ppwrapper
Description: A Programmable Promise wrapper
Author: Amar Kisoensingh
Latest version: 2.0.1

# ppwrapper

Stay safe. Use a wrapper for your **P**rogrammable **P**romise.

## Installation

Install the package with `npm i @ruas/ppwrapper` or `yarn add @ruas/ppwrapper`

## Quick start

```tsx
const f = () => fetch('https://randomuser.me/api/')

let [ state, re ] = ppwrapper<PersonApi, typeof f>(f)
```

If you'd like to perform the request on render, pass the function to `useEffect`:

```tsx
useEffect(() => {
  re()
}, [re])
```

## Documentation
Check the [wiki](https://gitlab.com/rotterdam-university/ppwrapper/-/wikis/v2/Request) for documentation and examples: [ https://gitlab.com/rotterdam-university/ppwrapper/-/wikis/v2/Request]( https://gitlab.com/rotterdam-university/ppwrapper/-/wikis/v2/Request)

## Developing locally

1. Clone the package with `git clone git@gitlab.com:rotterdam-university/ppwrapper.git`
2. Install the dependencies with `yarn`
3. Link the package with `yarn link`
4. Go to `ppwrapper-docs` or any project where you want to use the wrapper and do `yarn link @ruas/ppwrapper`
5. Run `yarn start` to compile the package everytime you save a file

## Publishing to NPM

Before you publish the package, make sure you've logged in with `yarn login`. You only have to do this once.

1. Update the version in `package.json` following [semver](https://semver.org/) ([Cheatsheet](https://devhints.io/semver)). Do this in the `develop` branch.
2. It speaks for itself that the `develop` branch has to be tested and confirmed that the package works as expected.
3. Push only the version bump in the `package.json` to the **remote** `develop` branch with as descripton:

```md
Bumped version to vX.X.X
```

The `X.X.X` should correspond with the version in the `package.json`.

At this point, you can make a [merge request](https://gitlab.com/rotterdam-university/ppwrapper/-/compare/master...develop) on **Gitlab** from `develop` → `master`. Once it's approved by another developer, you can continue.

1. Pull the changes on the master branch on you local machine.
2. Create a tag **on the `master` branch** with the same version as in the `package.json` with: `git tag -a <VERSION>`
3. The message should be a short description of what's included since the last tag:

```md
Added:
• x

Fixed:
• x
```

4. Build the project with `yarn build`
5. Pushed the tag to Gitlab with: `git push --tags`
6. Publish the package with: `yarn publish --access public`. Hit enter when yarn asks: `question New version:`
npm package: @ruax/ui
Description: a mobile ui helper
Author: copydog
Latest version: 0.3.2

# @Ruax/ui
A mobile ui helper

### Components

##### Primitive Components
- View
- Text
- TextInput
- Image
- ScrollView

##### Element Components
- Container
- Divider
- Icon
- Space

##### Layout Component
- Column
- Row
- Fluid

##### View-wrapped Component
- Center
- ImageView
- TextView
- TextInputView