open-index/open-npm huggingface dataset:
npm package: @jp6rt/cli-logger
Description: A simple logger utility.
Author: jp6rt
Latest version: 1.0.9

# cli-logger

A simple logger utility.

### usage

```javascript
const clilogger = require('@jp6rt/cli-logger')

/**
 * @param label - Labels your log (default=Log) 
 * @param enabled - Switch for all the log (default=false)
 */
const logger = clilogger('TestLabel', !0)

logger.silent('{0}:{1}', 'foo', 'bar')
logger.primary('{0}:{1}', 'foo', 'bar')
logger.accent('{0}:{1}', 'foo', 'bar')
logger.error('{0}:{1}', 'foo', 'bar')
```

### license
 MIT
npm package: @jp6rt/utils
Description: Utility functions for nodeJS applications
Author: jp6rt
Latest version: 1.0.4

# node-utils
Utility functions for nodeJS applications

## usage

```javascript

const { random, hexrandom, format, inArray  } = require('@jp6rt/utils')

/**
 * random(min=1, max=10) returns a number within range(min, max)
 */

const rand = random(1,2) // returns 1 or 2

/**
 * hexrandom() returns a random hex char
 */

const hexchar = hexrandom()

/**
 * format - Formats a string e.g., format(foo+{0}, bar) => foo+bar
 */

const foobar = format('{0}{1}', 'foo', 'bar') // retuns 'foobar'

/**
 * Traditional in_array function
 * @param { string } needle 
 * @param { array } haystack 
 */

inArray('foo', ['foo', 'bar']) // returns true
inArray('oof', ['foo', 'bar']) // returns false

```
npm package: @jp928/react-native-tab-layout
Description: A react native library to link native TabLayout
Author: jp928
Latest version: 0.1.2

# react-native-tab-layout

A react native library to link native TabLayout

## Installation

```sh
npm install react-native-tab-layout
```

## Usage

```js
import { TabLayoutView } from "react-native-tab-layout";

// ...

<TabLayoutView color="tomato" />
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT