open-index/open-npm huggingface dataset:
npm package: @labbsr0x/loglevel-format
Description: Plugin for loglevel message format
Author: hengchih
Latest version: 1.2.0

# loglevel-plugin-format
fork from [loglevel-plugin-prefix](https://github.com/kutuluk/loglevel-plugin-prefix)

loglevel plugin for log message formatting

## Installation

```sh
npm install loglevel-format --save
```

## API

```javascript
apply(log[, options]);
```

This method applies the plugin to the logger.

**log** - root logger, imported from loglevel package

**options** - configuration object

```javascript
var defaults = {
  template: '{"timestamp": %t, "level": %l, "message": %m}',
  messageFormatter: function(data){
    return data;  
  },
  timestampFormatter: function (date) {
    return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, '$1');
  },
  levelFormatter: function (level) {
    return level.toUpperCase();
  },
  nameFormatter: function (name) {
    return name || 'root';
  },
  appendExtraArguments: false
};
```

The **template** is a string containing zero or more placeholder tokens. Each placeholder token is replaced with the value from loglevel messages parameters. Supported placeholders are:

- %t - timestamp of message
- %l - level of message
- %n - name of logger
- %m - message of logger
npm package: @labd/babel-preset-react
Description: Babel preset for LabD projects using React
Author: Boris Besemer
Latest version: 0.5.0

# @labd/babel-preset-react
-------------------
Preset used for transpiling TypeScript code to bundled code compatible with our definition of done.

## Usage

Install `@labd/babel-preset-react` and add a `.babelrc.js` file with the following content to the root of your project:
```bash
    yarn add --dev @babel/core @labd/babel-preset-react
```

```js
 const presets = [
     "@labd/babel-preset-react",
 ]
```
npm package: @labd/eslint-config
Description: Base ESLint config for Lab Digital applications
Author: Boris Besemer
Latest version: 0.5.2

# eslint-config-labd

Opinionated config for ESLint for use in Lab Digital front-end projects.

## About

This config is set up for React projects with TypeScript that resolve modules using the `paths`
option in the `tsconfig.json` configuration file.
For code style linting we use [Prettier](https://prettier.io/) and add in a import config to sensibly sort imports.

Next to that there are no strict limitations on code style, but it is strict on problematic code, like badly set-up hooks.

## Usage

Use the following command to install this config and it's peer dependencies:
```sh
yarn add -D @labd/eslint-config eslint
```

Add the config to your `.eslintrc.js`:

```js
module.exports = {
    root: true,
    extends: [
        '@labd/eslint-config'
    ],
}
```
npm package: @labdao/openlab-applayer-client
Description: browser + node API client for OpenLab application layer REST APIs
Author: Rik Smith-Unna
Latest version: 0.0.2

## @labdao/openlab-applayer-client

OpenLab application layer REST API client.

> !! NOTE: under active development, please wait until the first release to use this package

### Compatibility

The module should work in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))

### Installation

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @labdao/openlab-applayer-client@0.0.1 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
npm package: @labdee/cf-tools
Description: CF Utility Tools
Author: LabDee
Latest version: 0.0.1

# @labdee/cf-tools

LabDee CF Tools is a command-line interface (CLI) tool that helps with local development of SAP Cloud Foundry applications.

## Pre-requisites

- Node.js 8.9.0 or higher
- Cloud Foundry CLI

## Installation

To install the package, run the following command:

`npm install -g @labdee/cf-tools`

## Usage

To use the CLI tool, run the `cf-tools` command followed by a command and any necessary options.

`cf-tools [command]`

## Commands

### `prepare-local`

Prepares the application to run locally. It generates the following files based on `cf env` command:

- default-env.json
- .env

`cf-tools prepare-local`

Options:

- `-a, --appName`: The name of the application (if not provided, the CLI will try to guess).

### `-v, --version`

Shows the version number of the package.

### `-h, --help`

Shows the help information for the package.

## Contributing

We welcome contributions to this project. To contribute, please fork the repository, make your changes, and submit a pull request.

## License

@labdee/cf-tools is licensed under the MIT license. See [LICENSE](LICENSE) for more information.