open-index/open-npm huggingface dataset:
npm package: @hhaluk/pigeon
Description: Notification Manager
Author: hhaluk
Latest version: 1.0.13

![Pigeon](./pigeon.png "Pigeon")
## Pigeon is a collection of commonly used webhooks.
### Supported Notification Channels

- [x] Google Chat
- [x] Slack
- [X] Telegram
- [X] Private
- [ ] Discord
- [ ] Sendgrid
- [ ] Ses
- [ ] Mailgun


## Usage

```console
$ npm install --save @hhaluk/pigeon
```


```js
import * as Pigeon from '@hhaluk/pigeon'

function foo () {
  Pigeon.NotifyGoogleChat(body) // pigeon can obtain url from environment. See Api Reference Table.
  Pigeon.NotifySlackChannel(body, url) // alternatively url can be injected directly.
}
```
---

### Api Reference Table
|  Method | Arguments  | Environment Variable  |
|---|---|---|
| NotifyGoogleChat  | body, url   | GOOGLE_CHAT_API_URL
| NotifySlackChannel  | body, url   | SLACK_API_URL
| NotifyTelegramChannel  | body, url   | TELEGRAM_API_URL
| NotifyPrivateChannel  | body, url   | PRIVATE_API_URL

### Api References

- [Google Chat Webhook](https://developers.google.com/chat/api/guides/message-formats)
- [Slack Webhook](https://api.slack.com/messaging/webhooks#:~:text=Incoming%20Webhooks%20are%20a%20simple,make%20the%20messages%20stand%20out)
- [Telegram Webhook](https://core.telegram.org/bots)
npm package: @hhangular/common
Description: services for angular 2x by hhfrancois
Author: Achache francois
Latest version: 1.0.20

# common

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.0.

It's a collection of modules for angular 6x

## Modules
  - config : config service for browser

###config


####dependencies

####installation

```
npm install @hhangular/common --save
```

####use
npm package: @hhangular/pdfjs
Description: pdfjs for angular 8x by hhfrancois
Author: Achache francois
Latest version: 2.0.39

# @hhangular/pdfjs [![Build Status](https://img.shields.io/travis/hhangular/hhangular/pdfjs.svg?style=for-the-badge&logo=travis-ci)](https://travis-ci.org/hhangular/hhangular) 

## Full documentation available here : [hhangular/pdfjs](https://hhangular.hhdev.fr/en-us/pdfjs/overview)

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.0.

You can read how [here](https://angular.io/guide/creating-libraries)

This library contains an angular module PdfjsModule that contains a collection of components.

Components of PdfjsModule are implementation of mozilla pdfjs for angular 8x. 

It contains some components for use easily the [mozilla pdf viewer pdfjs](https://github.com/mozilla/pdf.js).

### dependencies
  - pdfjs-dist
  - @types/pdfjs-dist

## Installation

```
npm install @hhangular/pdfjs --save
```

## Configuration

Add assets pdfworker in angular.json

```json
{
  ...
  "projects": {
    "YOUR PROJECT": {
      ...
      "architect": {
        "build": {
          ...
          "options": {
            ...
            "assets": [
              { 
                "glob": "pdf.worker.js", 
                "input": "./node_modules/pdfjs-dist/build", 
                "output": "/assets" 
              },
              ...
```

### In modules using pdfModule, import PdfjsModule and configure worker

```typescript
@NgModule({
...
imports: [
    BrowserModule,
    SharedModule,
    PdfjsBoxModule.config({workerSrc: 'assets/pdf.worker.js'})
  ],
...
  bootstrap: [AppComponent]
})
export class AppModule {
}
```

The best way is use SharedModule and export PdfjsModule. Like this you have just to import SharedModule in others modules.

```typescript
@NgModule({
  imports: [
    CommonModule,
    PdfjsModule.forRoot({workerSrc: 'assets/pdf.worker.js'}),
  ],
  exports: [
    PdfjsModule,
  ],
  declarations: [],
})
export class SharedModule {
}
```


### Components

  - pdfjs-thumbnails : Thumbnails of pdf
  - pdfjs-view  : A single page of pdf

### Control

  - PdfjsControl : Allow control pdf
  - PdfjsGroupControl : Allow control multi PdfjsControl

### objects

  - PdfPage : Represents a pdf page serialisable, usefull for implement features on backend
npm package: @hhangular/star-rating
Description: A star rating for angular 8x by hhfrancois
Author: Achache francois
Latest version: 1.0.1

# StarRating

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.7.

## Code scaffolding

Run `ng generate component component-name --project star-rating` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project star-rating`.
> Note: Don't forget to add `--project star-rating` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build star-rating` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build star-rating`, go to the dist folder `cd dist/star-rating` and run `npm publish`.

## Running unit tests

Run `ng test star-rating` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @hharnisc/docker-stats
Description: All your docker containers statistics as a stream
Author: Peter Elger
Latest version: 0.9.0-beta-01

# docker-stats

Collect all your Docker stats!

## Install

```sh
npm install docker-stats --save
```

## Usage

```
var stats = require('docker-stats')
var through = require('through2')
var opts = {
  docker: null, // here goes options for Dockerode
  events: null, // an instance of docker-allcontainers

  statsinterval: 10, // downsample stats. Collect a number of statsinterval logs
                     // and output their mean value

  // the following options limit the containers being matched
  // so we can avoid catching logs for unwanted containers
  matchByName: /hello/, // optional
  matchByImage: /matteocollina/, // optional
  skipByName: /.*pasteur.*/, // optional
  skipByImage: /.*dockerfile.*/ // optional
}
stats(opts).pipe(through.obj(function(chunk, enc, cb) {
  this.push(JSON.stringify(chunk))
  this.push('\n')
  cb()
})).pipe(process.stdout)
```

## Acknowledgements

This project was kindly sponsored by [nearForm](http://nearform.com).

## License

MIT
npm package: @hharnisc/micro-proxy
Description: Simplest proxy server for microservices
Author: Arunoda Susiripala
Latest version: 1.2.1

# micro-proxy

[![Build Status](https://travis-ci.org/zeit/micro-proxy.svg?branch=master)](https://travis-ci.org/zeit/micro-proxy)

With `micro-proxy`, you can create a proxy server for your microservices based on `now.sh` [path alias rules](https://zeit.co/docs/features/path-aliases).

This is specially well suited for development to mirror the production configuration of multiple microservices and backends.

## Usage

Firstly, install the package:

```js
npm i -g micro-proxy
```

Then add following rules to a filename called `rules.json`:

```json
{
  "rules": [
    {"pathname": "/blog", "method":["GET", "POST", "OPTIONS"], "dest": "http://localhost:5000"},
    {"pathname": "/**", "dest": "http://localhost:4000"}
  ]
}
```

> Visit [path alias](https://zeit.co/docs/features/path-aliases) documentation to learn more about rules.

Run the proxy server with:

```
micro-proxy -r rules.json -p 9000
```

Now you can access the proxy via: `http://localhost:9000`

### Programmatic Usage

You can run the proxy programmatically inside your codebase.
For that, add `micro-proxy` to your project with:

```
npm install micro-proxy
```

Then create the proxy server like this:

```js
const createProxy = require('micro-proxy')
const proxy = createProxy([
  {"pathname": "/blog", "method":["GET", "POST", "OPTIONS"], "dest": "http://localhost:5000"},
  {"pathname": "/**", "dest": "http://localhost:4000"}
])

proxy.listen(9000, (err) => {
  if (err) {
    throw err
  }
  console.log(`> Ready on http://localhost:9000`)
})
```

### Production Usage

You can use `micro-proxy` as a production deployment.

But if you are using [ZEIT now](https://zeit.co/now), you can simply use path [alias rules](https://zeit.co/docs/features/path-aliases) instead.<br/>
(It's a FREE service available for all ZEIT now deployments.)
npm package: @hhdd/huyak-ui
Description: [![Build Status](https://travis-ci.org/HuyakDD/Huyak-UI.svg?branch=master)](https://travis-ci.org/HuyakDD/Huyak-UI)
Author: Vladimir Okun
Latest version: 1.0.4

# Huyak UI library

[![Build Status](https://travis-ci.org/HuyakDD/Huyak-UI.svg?branch=master)](https://travis-ci.org/HuyakDD/Huyak-UI)

Created with:

- **React, Emotion** for creating and styling components,
- **Jest**, **react-testing-library** for testing the components,
- **Rollup**, **Babel** for bundling the library,
- **Styleguidist** for live development and documentation generation,
- **TravisCI** for auto deployment to GitHub pages.

Deployed documentation: ["huyakdd.github.io/Huyak-UI"](https://huyakdd.github.io/Huyak-UI/)

Packages Deployed with Github Actions to npm repo and to github repo.
npm package: @hheimerd/safe-json-stringify
Description: JSON.stringify with circular reference resolver
Author: hheimerd
Latest version: 1.0.3

[![npm version](https://img.shields.io/npm/v/@hheimerd/safe-json-stringify.svg)](https://www.npmjs.com/package/@hheimerd/safe-json-stringify)

# Safe JSON Stringify


A TypeScript utility for safely serializing objects to JSON, handling circular references gracefully.

## Features

Handles Circular References: Automatically replaces circular references with a placeholder string [Circular].
Custom Replacer Function: Allows for custom transformations on values during serialization.
Custom Indentation: Supports custom indentation for pretty-printing the JSON string.
Installation
To install the package, you can use npm or yarn:

```sh
npm install @hheimerd/safe-json-stringify
```

or

```sh
yarn add @hheimerd/safe-json-stringify
```

## Usage

Import the safeJsonStringify function into your project and use it to serialize objects to JSON:

```typescript
import {safeJsonStringify} from '@hheimerd/safe-json-stringify';

const obj = {
    name: 'John',
    circularRef: null,
};
obj.circularRef = obj;

const jsonString = safeJsonStringify(obj);
console.log(jsonString); // {"name":"John","circularRef":"[Circular]"}
```

## Cook book

### Do not serialize classes

```typescript
const replacer = (key: string, value: unknown) => {
    if (value && typeof value === 'object' && Object.getPrototypeOf !== Object.prototype) {
        return;
    }
    return value;
};

const jsonString = safeJsonStringify(obj, replacer);
```

### Custom circular value

```typescript
const replacer = (key: string, value: unknown) => {
    if (value === '[Circular]') {
        return '[CustomCircular]';
    }
    return value;
};

const jsonString = safeJsonStringify(obj, replacer);
```

### Max depth

```typescript

// lvl 0
const obj = {
    // lvl 1
    field: {
        // lvl 2
        value: 'value'
    }
}

const replacer = (key: string, value: unknown, depth: number) => {
    if (depth > 10) {
        return;
    }

    return value;
};

const jsonString = safeJsonStringify(obj, replacer);
```

## License

This project is licensed under the [MIT License](./LICENSE).