open-index/open-npm huggingface dataset:
npm package: @kksh/vue
Description: This is a wrapper component library of the [shadcn-vue](https://www.shadcn-vue.com), designed to facilitate development of Kunkun extensions.
Latest version: 0.1.4

# @kksh/vue

This is a wrapper component library of the [shadcn-vue](https://www.shadcn-vue.com), designed to facilitate development of Kunkun extensions.
npm package: @kksiuda/log
Description: Logging for node.js
Author: Krzysztof Siuda
Latest version: 0.3.5

### Overview

No dependency logging utility wrapper with customisable consumer

### Installation

```shell
yarn install @kksiuda/log
```

or

```shell
npm install @kksiuda/log
```

### API

#### Log

Creates a [Log](#log) instance.

- input
  - consumer?: [LogConsumer](#logconsumer) (default: consoleLogConsumerFactory return value);
  - logLevel: [LogLevel](#loglevel) (default: 'info');
  - namespace: string[]; (default: [])
- output
  - [Log](#log) instance

Example

```ts
import { Log } from '@kksiuda/logger';

const log = new Logger();
log.debug('debug data');
log.info('some information');
log.warn('warning');
log.error(new Error('error message'));
// by default these logs will be output to console using consoleLogConsumerFactory default parameters
```
npm package: @kkt/config-loader
Description: A simple config loader, that loads JS files and returns an object of the loaded files and their contents.
Author: jaywcjlove
Latest version: 5.5.1

loader-config
---

A simple config loader, that loads JS files and returns an object of the loaded files and their contents.

## Install

```bash
npm i @kkt/config-loader --save-dev
```

## Usage

```js
const loaderConfig = require('config-loader');
```
npm package: @kkt/doc
Description: Document Preview
Author: SunLxy
Latest version: 1.1.5

kkt doc
====

## 简介

用于本地预览静态资源

## 安装

```bash
$ npm install @kkt/doc # yarn add @kkt/doc
```

## 命令

```Bash

  Usage: kktd [input-file] [--help|h]

  Displays help information.

  Options:

   --version, -v         Show version number
   --help, -h            Displays help information.
   --local               Local address preview or not.

  Example:

   $ kktd ./examples/doc

```

## 文档命令使用

```bash

$ kktd ./examples/doc  --local  # 使用本地地址进行预览

$ kktd @uiw/doc/doc # 使用文档包进行预览

```

package.json 中配置命令

```json

  // ....
  "script":{
    "doc":"kktd @uiw/doc/doc", 
    "doc2":"kktd ./examples/doc --local", 
  }

```
npm package: @kkt/less-modules
Description: Support for regular less files and *.module.less files.
Author: Kenny Wong
Latest version: 7.5.5

<p align="center">
  <h1>@kkt/less-modules</h1>
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/@kkt/less-modules">
    <img src="https://img.shields.io/npm/v/@kkt/less-modules.svg" alt="npm version">
  </a>
</p>

Use create-react-app to build react libraries. Support for regular less files and *.module.less files. This package contains a plugin for using [Less](https://github.com/less/less.js) with [kkt](https://github.com/kktjs/kkt).

### Installation

```bash
yarn add --dev @kkt/less-modules
# or use npm if you don't have yarn yet
npm install --save-dev @kkt/less-modules
```

### Usage

In the `.kktrc.js` or `.kktrc.ts` you created for `kkt` add this code:

```js
import lessModules from '@kkt/less-modules';

export default (conf, evn, options) => {
  conf = lessModules(conf, evn, options);

  // with loaderOptions
  conf = lessModules.withLoaderOptions({
    modifyVars: {
      "@primary-color": "#1890ff",
    },
  })(config, env, options);

  return conf;
}
```

In `package.json`, add a separate npm script to build library

```js
{
  "scripts": {
    ...
    "bundle": "kkt build --bundle",
    "bundle:min": "kkt build --bundle --mini",
    ...
  }
}
```

And you can now use CRA to build your library

### Configurations

```js
import lessModules from '@kkt/less-modules';

export default (conf, evn, options) => {

  // with loaderOptions
  conf = lessModules.withLoaderOptions({
    lessOptions: {
      modifyVars: {
        "@primary-color": "#1890ff",
      },
    }
  })(conf, env, options);

  return conf;
}
```

### License

Licensed under the MIT License