open-index/open-npm huggingface dataset:
npm package: @medievalrain/emitter
Description: A typesafe event emitter
Latest version: 0.8.22

# @medievalrain/emitter

![NPM License](https://img.shields.io/npm/l/%40medievalrain%2Femitter)
![NPM Downloads](https://img.shields.io/npm/dw/%40medievalrain%2Femitter)
![NPM Version](https://img.shields.io/npm/v/%40medievalrain%2Femitter)

A typesafe event emitter for NodeJS and browser.

## Installation

```bash
npm install @medievalrain/emitter
```
npm package: @medijobs/check-engines
Description: Never break your dependency tree with npm-install-checks running on npx
Author: TED Vortex
Latest version: 1.0.1

<div align="center">
  <img src="https://gist.githubusercontent.com/0-vortex/acffcb296295f5d6e10865528ed5c7f2/raw/3666f45755d249534f83d5658ac892c6bc0b4963/medirecruit.svg" width="400">
</div>

# @medijobs/check-engines

> Never break your dependency tree with [**npm-install-checks**](https://www.npmjs.com/package/npm-install-checks) running on [**npx**](https://www.npmjs.com/package/npx).

[![Commits](https://img.shields.io/github/commit-activity/w/medijobs/check-engines?style=flat)](https://github.com/medijobs/check-engines/pulse)
[![Issues](https://img.shields.io/github/issues/medijobs/check-engines.svg?style=flat)](https://github.com/medijobs/check-engines/issues)
[![Releases](https://img.shields.io/github/v/release/medijobs/check-engines.svg?style=flat)](https://github.com/medijobs/check-engines/releases)

</div>

## 📦 Install

This package is binary and doesn't require installation however you can add it to your repository as a `devDependency`:

```shell
npm install --save-dev @medijobs/check-engines
```

## 🚀 Usage

All you have to do is run the script next to your `package.json`:

```shell
npx @medijobs/check-engines
```

## 🔧 Configuration

The most common use case for this package is to let it run on `install` and `start` generic `npm` scripts:

```json
{
  "scripts": {
    "preinstall": "npx @medijobs/check-engines",
    "prestart": "npx @medijobs/check-engines"
  }
}
```

Or with less copy paste:

```json
{
  "scripts": {
    "engines": "npx @medijobs/check-engines",
    "preinstall": "npm run engines",
    "prestart": "npm run engines"
  }
}
```

## 🤝 Contributing

If you decide to fix a bug, make sure to use the conventional commit available at:

```shell
npm run push
```

## ⚖️ LICENSE

MIT © [TED (Teodor-Eugen Dutulescu) Vortex](./LICENSE)
npm package: @medijobs/conventional-commit
Description: Git commit binary powered by commitizen with conventional commit standard
Author: TED Vortex
Latest version: 1.0.0

<div align="center">
  <img src="https://gist.githubusercontent.com/0-vortex/acffcb296295f5d6e10865528ed5c7f2/raw/3666f45755d249534f83d5658ac892c6bc0b4963/medirecruit.svg" width="400">
</div>

# @medijobs/conventional-commit

> Never miss a conventional commit with [**commitizen**](https://github.com/commitizen/cz-cli) running on [**npx**](https://www.npmjs.com/package/npx).

[![Commits](https://img.shields.io/github/commit-activity/w/medijobs/conventional-commit?style=flat)](https://github.com/medijobs/conventional-commit/pulse)
[![Issues](https://img.shields.io/github/issues/medijobs/conventional-commit.svg?style=flat)](https://github.com/medijobs/conventional-commit/issues)
[![Releases](https://img.shields.io/github/v/release/medijobs/conventional-commit.svg?style=flat)](https://github.com/medijobs/conventional-commit/releases)

</div>

## 📦 Install

This package is binary and doesn't require installation however you can add it to your repository as a `devDependency`:

```shell
npm install --save-dev @medijobs/conventional-commit
```

## 🚀 Usage

All you have to do is run the script next to your `package.json`:

```shell
npx @medijobs/conventional-commit
# or
npx conventional-commit
```

## 🔧 Configuration

The most common use case for this package is to run it instead of the `git commit` command inside your `npm` scripts:

```json
{
  "scripts": {
    "push": "npx @medijobs/conventional-commit"
  }
}
```

or

```json
{
  "scripts": {
    "push": "npx conventional-commit"
  }
}
```

If you want to ensure local-only usage:

```json
{
  "scripts": {
    "push": "conventional-commit"
  }
}
```

## 🤝 Contributing

If you decide to fix a bug, make sure to use the conventional commit available at:

```shell
npm run push
```

## ⚖️ LICENSE

MIT © [TED (Teodor-Eugen Dutulescu) Vortex](./LICENSE)
npm package: @medikura/redact-secrets
Description: Deeply iterate over an object and redact secret values by replacing them with a predefined string
Author: Medikura Digital Health GmbH
Latest version: 2.1.1

# redact-secrets

Deeply iterate over an object and redact secret values by replacing them
with a predefined string.

[![Build status](https://travis-ci.org/watson/redact-secrets.svg?branch=master)](https://travis-ci.org/watson/redact-secrets)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

## Installation

```
npm install redact-secrets --save
```

## Usage

```js
//Redact without any otptions
var redact = require('@medikura/redact-secrets')()

// add custom key regex
var redactConstants = require('@medikura/constants')
var customRedact = require('@medikura/redact-secrets')({ keys: [ /email/, ...redactConstants.KEYS ] })

var obj = {
  username: 'watson',
  email: 'test@example.com',
  password: 'hhGu38gf',
  extra: {
    id: 1,
    token: 'some-secret-stuff'
    card: '1234 1234 1234 1234'
  }
}

console.log(redact.map(obj))
// {
//   username: 'watson',
//   email: 'test@example.com',
//   password: '[REDACTED]',
//   extra: {
//     id: 1,
//     token: '[REDACTED]'
//     card: '[REDACTED]'
//   }
// }


console.log(customRedact.map(obj))
// {
//   username: 'watson',
//   email: '[REDACTED]',
//   password: '[REDACTED]',
//   extra: {
//     id: 1,
//     token: '[REDACTED]'
//     card: '[REDACTED]'
//   }
// }
```

## API

### `redact = Redact(options)`

This module exposes a init function which takes an optional object with several options:
* `redactedText` - the `string` used as a replacement variable for values that are redacted, defaults to `"[REDACTED]"`
* `keys` - an array of regexes for keys that are considered secret, defaults to `constants.KEYS`
* `values` - an array of regexes for values that are considered secret, defaults to `constants.VALUES`

The init function returns an object holding one function called `map`

### `redact.map(obj)`

Returns a clone of the given `obj` with its secret values redacted.

## License

MIT

forked from https://github.com/watson/redact-secrets; major changes:
* uses deepdash instead of traverse (traverse is unmaintained)
* allows for adding custom regexes for secret keys and values