open-index/open-npm huggingface dataset:
npm package: @neoskop/paperboy-push-service
Description: _Paperboy Push Service_ is a simple webservice that will convert an incoming HTTP request into a message in paperboy's queue thus abstracting the complexity of multiplexing a notification to the clients.
Latest version: 2.9.1

# Paperboy Push Service

_Paperboy Push Service_ is a simple webservice that will convert an incoming HTTP request into a message in paperboy's queue thus abstracting the complexity of multiplexing a notification to the clients.

## Usage

You push a message like

```
{"foo":"bar","source":"test"}
```

into the queue with the following cURL command:

```
curl -X POST \
  http://localhost:8081/ \
  -H 'Authorization: Bearer test' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'source=test&payload=%7B%22foo%22%3A%22bar%22%7D'
```

The parameters `source` and `payload` are optional. The default message will look like this:

```
{"source":"push-notifier"}
```
npm package: @neoskop/pulumi-buddy
Description: A Pulumi integration for Buddy
Author: Mark Wecke
Latest version: 0.1.0-rc.5

![Logo](https://raw.githubusercontent.com/neoskop/pulumi-buddy/master/logo.svg?sanitize=true)

[![Travis master](https://img.shields.io/travis/neoskop/pulumi-buddy/master.svg)](https://travis-ci.org/neoskop/pulumi-buddy)
[![Snyk master](https://snyk.io/test/github/neoskop/pulumi-buddy/master/badge.svg)](https://snyk.io/test/github/neoskop/pulumi-buddy/master)
[![NPM version](https://badge.fury.io/js/%40neoskop%2Fpulumi-buddy.svg)](https://npmjs.com/package/@neoskop/pulumi-buddy)
[![License](https://img.shields.io/npm/l/%40neoskop%2Fpulumi-buddy.svg)](https://github.com/neoskop/pulumi-buddy/blob/master/LICENSE)

> A [Pulumi](https://www.pulumi.com/) integration for [Buddy](https://buddy.works/)

## Requirements

-   [Pulumi CLI](https://www.pulumi.com/docs/get-started/install/)

## Quickstart

```sh
$ mkdir myproject && cd myproject
$ pulumi new typescript
#            "javascript" works as well
$ npm install
$ npm install @neoskop/pulumi-buddy
#             or @neoskop/pulumi-buddy@next for latest preview version
$ pulumi config set buddy:workspace myworkspace-name
$ pulumi config set buddy:token myaccesstoken --secret
# for Buddy On-Premise
$ pulumi config set buddy:apiUrl https://my-buddy-server.com
```

_See [here](https://buddy.works/docs/api/getting-started/oauth2/personal-access-token), how to create an access token._

```typescript
import * as buddy from '@neoskop/pulumi-buddy';

const project1 = new buddy.Project('project1', {
    display_name: 'Project #1',
    external_project_id: 'domain/repo',
    integration: {
        hash_id: 'integration_hash'
    }
});

export const project_name = project1.name;

const pipeline = new buddy.Pipeline('pipeline1', {
    project_name: project1.name,
    name: 'Pipeline #1',
    ref_name: 'master',
    trigger_mode: 'MANUAL'
});

const action = new buddy.ActionRunDockerContainer('action1', {
    project_name: project1.name,
    pipeline_id: pipeline.pipeline_id,
    docker_image_name: 'ubuntu',
    docker_image_tag: '19.10',
    name: 'Action #1',
    inline_commands: 'echo "Hello from @neoskop/pulumi-buddy"',
    trigger_time: 'ON_EVERY_EXECUTION'
});
```

[More examples](https://github.com/neoskop/pulumi-buddy/tree/master/examples)

## License

[MIT](https://raw.githubusercontent.com/neoskop/pulumi-buddy/master/LICENSE)
npm package: @neoskop/pulumi-utils-common
Description: Utilities for Pulumi
Author: Mark Wecke
Latest version: 0.1.0-rc.3

[![Travis master](https://img.shields.io/travis/neoskop/pulumi-utils/master.svg)](https://travis-ci.org/neoskop/pulumi-utils)
[![Coverage Status](https://coveralls.io/repos/github/neoskop/pulumi-utils/badge.svg)](https://coveralls.io/github/neoskop/pulumi-utils)
[![Snyk master](https://snyk.io/test/github/neoskop/pulumi-utils/master/badge.svg)](https://snyk.io/test/github/neoskop/pulumi-utils/master)
[![NPM version][npm-badge-common]][npm-link-common]
[![License][licence-common]][licence-link]

# @neoskop/pulumi-utils-common

> A collection of utilities useful in Pulumi SDK and plugin development.

## License

[MIT](licence-link)

[npm-badge-common]: https://img.shields.io/npm/v/@neoskop/pulumi-utils-common
[npm-link-common]: https://npmjs.com/package/@neoskop/pulumi-utils-common
[licence-link]: https://github.com/neoskop/pulumi-utils/blob/master/LICENSE
[licence-common]: https://img.shields.io/npm/l/%40neoskop%2Fpulumi-utils-common
npm package: @neoskop/pulumi-utils-grpc
Description: GRPC code for Pulumi plugins
Author: Mark Wecke
Latest version: 0.1.0-rc.3

[![Travis master](https://img.shields.io/travis/neoskop/pulumi-utils/master.svg)](https://travis-ci.org/neoskop/pulumi-utils)
[![Coverage Status](https://coveralls.io/repos/github/neoskop/pulumi-utils/badge.svg)](https://coveralls.io/github/neoskop/pulumi-utils)
[![Snyk master](https://snyk.io/test/github/neoskop/pulumi-utils/master/badge.svg)](https://snyk.io/test/github/neoskop/pulumi-utils/master)
[![NPM version][npm-badge-grpc]][npm-link-grpc]
[![License][licence-grpc]][licence-link]

# @neoskop/pulumi-utils-grpc

> Generated server and client code for [pulumi protobuf format](https://github.com/pulumi/pulumi/tree/master/sdk/proto).

## License

[MIT][licence-link]

[npm-badge-grpc]: https://img.shields.io/npm/v/@neoskop/pulumi-utils-grpc
[npm-link-grpc]: https://npmjs.com/package/@neoskop/pulumi-utils-grpc
[licence-link]: https://github.com/neoskop/pulumi-utils/blob/master/LICENSE
[licence-grpc]: https://img.shields.io/npm/l/%40neoskop%2Fpulumi-utils-grpc
npm package: @neoskop/pulumi-utils-plugin
Description: Utilities for Pulumi plugin development
Author: Mark Wecke
Latest version: 0.1.0-rc.3

[![Travis master](https://img.shields.io/travis/neoskop/pulumi-utils/master.svg)](https://travis-ci.org/neoskop/pulumi-utils)
[![Coverage Status](https://coveralls.io/repos/github/neoskop/pulumi-utils/badge.svg)](https://coveralls.io/github/neoskop/pulumi-utils)
[![Snyk master](https://snyk.io/test/github/neoskop/pulumi-utils/master/badge.svg)](https://snyk.io/test/github/neoskop/pulumi-utils/master)
[![NPM version][npm-badge-plugin]][npm-link-plugin]
[![License][licence-plugin]][licence-link]

# @neoskop/pulumi-utils-plugin

> A library to create plugins for pulumi.

## License

[MIT][licence-link]

[npm-badge-plugin]: https://img.shields.io/npm/v/@neoskop/pulumi-utils-plugin
[npm-link-plugin]: https://npmjs.com/package/@neoskop/pulumi-utils-plugin
[licence-link]: https://github.com/neoskop/pulumi-utils/blob/master/LICENSE
[licence-plugin]: https://img.shields.io/npm/l/%40neoskop%2Fpulumi-utils-plugin
npm package: @neoskop/pulumi-utils-sdk
Description: Utilities for Pulumi SDK development
Author: Mark Wecke
Latest version: 0.1.0-rc.3

[![Travis master](https://img.shields.io/travis/neoskop/pulumi-utils/master.svg)](https://travis-ci.org/neoskop/pulumi-utils)
[![Coverage Status](https://coveralls.io/repos/github/neoskop/pulumi-utils/badge.svg)](https://coveralls.io/github/neoskop/pulumi-utils)
[![Snyk master](https://snyk.io/test/github/neoskop/pulumi-utils/master/badge.svg)](https://snyk.io/test/github/neoskop/pulumi-utils/master)
[![NPM version][npm-badge-sdk]][npm-link-sdk]
[![License][licence-sdk]][licence-link]

# @neoskop/pulumi-utils-sdk

> A collection of utilities useful in Pulumi SDK and plugin development.

## License

[MIT][licence-link]

[npm-badge-sdk]: https://img.shields.io/npm/v/@neoskop/pulumi-utils-sdk
[npm-link-sdk]: https://npmjs.com/package/@neoskop/pulumi-utils-sdk
[licence-link]: https://github.com/neoskop/pulumi-utils/blob/master/LICENSE
[licence-sdk]: https://img.shields.io/npm/l/%40neoskop%2Fpulumi-utils-sdk
npm package: @neoskop/redis-promise-cache
Description: Store promises and synchrone values in redis
Author: Mark Wecke
Latest version: 0.4.2

# @neoskop/redis-promise-cache  

[![Build](https://travis-ci.org/neoskop/redis-promise-cache.svg?branch=master)](https://travis-ci.org/neoskop/redis-promise-cache)
[![Coverage](https://coveralls.io/repos/github/neoskop/redis-promise-cache/badge.svg?branch=master)](https://coveralls.io/github/neoskop/redis-promise-cache)

Store promises and synchrone values in redis.

Prevents multiple redundant calls to the same (expensive) resource. 
See [here](https://redislabs.com/blog/caches-promises-locks/) for more details.

## Usage

```typescript
import { RedisPromiseCache } from '@neoskop/redis-promise-cache'

const cache = new RedisPromiseCache({ resourceTag: 'db' });
const db : any;

/**
 *  with helper method 
 */
async function getResource(id : string) {
    return cache.getResource(id, () => db.get(id));
}

/**
 *  with "low level" api
 */
async function getResource2(id : string) {
    const cacheEntry = cache.get(id);
    if(cacheEntry) {
        return cacheEntry;
    }

    const promise = db.get(id);
    cache.set(id, promise);

    return promise;
}
```

## Testing

Run tests with `yarn test`. See [package.json](./package.json) for additional test scripts.

## Versioning

This package follows [SemVer](https://semver.org/) and uses [@neoskop/flow-bump](https://github.com/neoskop/flow-bump) for versioning.

## License

This project is licensed under the MIT License - see the [LICENSE.md](./LICENSE.md) file for details