open-index/open-npm huggingface dataset:
npm package: @pplancq/babel-config
Description: pplancq babel config
Author: pplancq
Latest version: 1.1.6
Deprecated: This package is no longer maintained. Please use a local Babel configuration instead.

# @pplancq/babel-config

This package provides pplancq babel as an extensible shared config.

## Usage

We export three babel configurations for your usage.

## Install

```shell
npm install --save-dev @pplancq/babel-config
```

## babel config

Use with command to enable the default configuration.

```shell
npx init-babel-config
```

### @pplancq/babel-config

This is the default configuration. To use, add `"babel": { "extends": ["@pplancq/babel-config"] }` to your `package.json`.
npm package: @pplancq/commitlint-config
Description: pplancq commitlint config
Author: pplancq
Latest version: 3.0.6

# @pplancq/commitlint-config

This package provides pplancq commitlint as an extensible shared config.

## Usage

We export three commitlint configurations for your usage.

## Install

```shell
npm install --save-dev @pplancq/commitlint-config
```

## commitlint config

Use with command to enable the default configuration.

```shell
npx init-commitlint-config
```

### @pplancq/commitlint-config

This is the default configuration. To use, add `"commitlint": { "extends": ["@pplancq/commitlint-config"] }` to your `package.json`.

## ⚠️ Breaking Change: ESM Only from v3

As of version 3.x, this package is ESM-only. CommonJS (`require`) is no longer supported.

## Migration from CommonJS to ESM

**Old (CommonJS) usage:**

```js
// .commitlintrc.js or commitlint.config.js
module.exports = { extends: ['@pplancq/commitlint-config'] };
```

**New (ESM) usage:**

```js
// commitlint.config.mjs (or commitlint.config.js when using "type": "module")
export default {
  extends: ['@pplancq/commitlint-config'],
};
```

If you are using a `.js` config file, ensure your environment supports ESM (e.g., Node.js >= 18, or set "type": "module" in your package.json).
npm package: @pplancq/postcss-config
Description: pplancq postcss config
Author: pplancq
Latest version: 3.0.4

# @pplancq/postcss-config

This package provides pplancq postcss as an extensible shared config.

## Usage

We export three postcss configurations for your usage.

## Install

```shell
npm install --save-dev @pplancq/postcss-config
```

## postcss config

Use with command to enable the default configuration.

```shell
npx init-postcss-config
```

### @pplancq/postcss-config

This is the default configuration. To use it, see the ESM migration section below for the correct syntax.

## ⚠️ Breaking Change: ESM Only from v2

As of version 2.x, this package is ESM-only. CommonJS (`require`) is no longer supported.

## Migration from CommonJS to ESM

**Old (CommonJS) usage:**

```js
// .postcssrc.js or postcss.config.js
module.exports = require('@pplancq/postcss-config');
```

**New (ESM) usage:**

```js
// postcss.config.mjs (or postcss.config.js when using "type": "module")
import defaultConfig from '@pplancq/postcss-config';

export default {
  ...defaultConfig,
};
```

If you are using a `.js` config file, ensure your environment supports ESM (e.g., Node.js >= 18, or set "type": "module" in your package.json).
npm package: @pplancq/prettier-config
Description: pplancq prettier config
Author: pplancq
Latest version: 2.0.0

# @pplancq/prettier-config

This package provides pplancq prettier as an extensible shared config.

## Usage

We export three Prettier configurations for your usage.

## Install

```shell
npm install --save-dev @pplancq/prettier-config
```

## Prettier config

Use with command to enable the default configuration.

```shell
npx init-prettier-config
```

### @pplancq/prettier-config

This is the default configuration. To use, add `"prettier": "@pplancq/prettier-config"` to your `package.json`.

## ⚠️ Breaking Change: ESM Only from v2

As of version 2.x, this package is ESM-only. CommonJS (`require`) is no longer supported.

## Migration from CommonJS to ESM

**Old (CommonJS) usage:**

```js
// .prettierrc.js or prettier.config.js
module.exports = require('@pplancq/prettier-config');
```

**New (ESM) usage:**

```js
// prettier.config.mjs (or prettier.config.js when using "type": "module")
import defaultConfig from '@pplancq/prettier-config';

export default {
  ...defaultConfig,
};
```

If you are using a `.js` config file, ensure your environment supports ESM (e.g., Node.js >= 18, or set "type": "module" in your package.json).
npm package: @pplancq/react-template
Description: react template
Author: pplancq
Latest version: 2.8.11

# @pplancq/react-template

This package is a ready-to-use template for starting up a new React application. It has been designed for easy use via the `@pplancq/create-react-app` script.

## Usage

To create a new React project, use the following command:

```shell
npm create @pplancq/react-app@latest <project_name>
```

Replace <project_name> with the name of your new project.

## License

This project is under the MIT license.
npm package: @pplancq/semantic-release-config
Description: pplancq semantic-release config
Author: pplancq
Latest version: 3.0.5

# @pplancq/semantic-release-config

This package provides pplancq semantic-release as an extensible shared config.

## Usage

We export three semantic-release configurations for your usage.

## Install

```shell
npm install --save-dev @pplancq/semantic-release-config
```

## semantic-release config

Use with command to enable the default configuration.

```shell
npx init-semantic-release-config
```

### @pplancq/semantic-release-config

This is the default configuration. To use, add `"release": { "extends": ["@pplancq/semantic-release-config"] }` to your `package.json`.

## Git environment variables

| Variable                        | Description                                                                                                                                              |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| GIT_ASSETS                      | Allows you to add files to be included in the release commit. To add several files, simply separate them with ','.<br/>Example: GIT_ASSETS=foo.js,bar.md |
| GITHUB_DISABLED_SUCCESS_COMMENT | Set to 'true' to disable commenting on issues and pull requests                                                                                          |
| GITHUB_DISABLED_RELEASED_LABELS | Set to 'true' to not add any label.                                                                                                                      |

## ⚠️ Breaking Change: ESM Only from v3

As of version 3.x, this package is ESM-only. CommonJS (`require`) is no longer supported.

## Migration from CommonJS to ESM

**Old (CommonJS) usage:**

```js
// .releaserc.js or release.config.js
module.exports = { extends: ['@pplancq/semantic-release-config'] };
```

**New (ESM) usage:**

```js
// release.config.mjs (or release.config.js when using "type": "module")
import defaultConfig from '@pplancq/semantic-release-config';

export default {
  ...defaultConfig,
};
```

If you are using a `.js` config file, ensure your environment supports ESM (e.g., Node.js >= 18, or set "type": "module" in your package.json).
npm package: @pplancq/stylelint-config
Description: pplancq stylelint config
Author: pplancq
Latest version: 5.0.2

# @pplancq/stylelint-config

This package provides pplancq stylelint as an extensible shared config.

## Usage

We export three stylelint configurations for your usage.

## Install

```shell
npm install --save-dev @pplancq/stylelint-config
```

## stylelint config

Use with command to enable the default configuration.

```shell
npx init-stylelint-config
```

### @pplancq/stylelint-config

This is the default configuration. To use, add `"stylelint": { "extends": ["@pplancq/stylelint-config"] }` to your `package.json`.

### Alternative configuration

if you use prettier to format your css files, this package provides an alternative configuration that takes prettier directly into account.
To do this, install the following additional packages:

```shell
npm install --save-dev prettier stylelint-prettier
```

To use is alternative configuration, replace `"stylelint": { "extends": ["@pplancq/stylelint-config/prettier"] }` to your `package.json`.

## ⚠️ Breaking Change: ESM Only from v5

As of version 5.x, this package is ESM-only. CommonJS (`require`) is no longer supported.

## Migration from CommonJS to ESM

**Old (CommonJS) usage:**

```js
// .stylelintrc.js or stylelint.config.js
module.exports = { extends: ['@pplancq/stylelint-config'] };
```

**New (ESM) usage:**

```js
// stylelint.config.mjs (or stylelint.config.js when using "type": "module")
export default {
  extends: ['@pplancq/stylelint-config'],
};
```

If you are using a `.js` config file, ensure your environment supports ESM (e.g., Node.js >= 18, or set "type": "module" in your package.json).
npm package: @pplgin/owl
Description: Owl-Node框架
Author: pplgin
Latest version: 0.0.9

## Owl

>框架底层基于 Koa2 实现，兼容 Koa的所有功能, 支持ES6

## Owl核心内容

- Loader (主要将对应目录下的文件挂载到对应的对象上去 目前支持 ：`model、controller、service、router对象`)
- Extend (扩展原有context对象，暂不支持自定义)
- Logger 日志集成
- Router 集成

## 使用方式

环境依赖： node >=9

```
npm install @pplgin/owl
```


## Example

代码目录结构

```
├── app.js
├── config.js
├── controller
├── middleware
├── model
├── router
├── service
└── views
```


引入owl(具体事例可以参考app文件夹)

```javascript
const path = require('path')
const { OwlApplication } = require('@pplgin/owl')
const { pkg, logConfig } = require('./config')
const app = new OwlApplication({
	pkg,
	rootPath:__dirname,
    viewRoot: path.join(__dirname, 'views'),
    logConfig
})
// 启动
app.bootstrap()
```

middleware
```javascript
module.exports = [
    logger, //[logger, { options }]
]
```


controller层

```javascript
const { Controller } = require('@pplgin/owl')
module.exports = class Home extends Controller {
	test() {
		// this.ctx.coreLogger.info('111')
		// let s = this.ctx.service.name.m.list()
		// this.test1()
		this.ctx.body = 'this is home!'
	}

	test1() {
		console.log('xxx')
	}
}
```

service层

```javascript
const { Service } = require('@pplgin/owl')

module.exports = class NewsService extends Service {
  list(page = 1) {
    return {
      id: 1,
      contest: 'test'
    }
  }
}
```
npm package: @ppodds/hexo-asset-image
Description: Replace asset image to absolute path. Fork from hexo-asset-image-for-hexo5.
Author: ppodds
Latest version: 1.0.0

# hexo-asset-image-for-hexo5

Replace asset image to absolute path in Hexo. **Works fine with hexo 5.3.0, please feel free to use.**

> **Tips**: Reference & fixed [hexo-asset-image](https://github.com/xcodebuild/hexo-asset-image) compatibility issues with hexo 5.

## Usege

```shell
npm install hexo-asset-image-for-hexo5 --save
```

## Example

```shell
├─Data-Structure
├────diagram.png
└─Data-Structure.md
```

> **Notice**: You must switch the `post_asset_folder:true` in `_config.yml`, then use `![infomation](./Data-Structure/diagram.png)` to reference `diagram.png`.
npm package: @ppoliani/im-record
Description: A staful record ADT
Author: ppoliani
Latest version: 2.0.0

# @ppoliani/record
A stateful record ADT

Installation
===
`npm install @ppoliani/record`

or 

`yarn add @ppoliani/record`

Usage
===

```
const Stack = Record({
  items: [],
  push: stack => item => stack.items.push(item),
  pop: stack => stack.items.pop(),
  count: stack => stack.items.length
});

// use the default state
const stack = Stack();
stack.push('1'); 
stack.push('2');

console.log(stack.items) // ['1', '2']

// init with values
const stack = Stack({items: ['1']});
console.log(stack.items) // ['1']

```

License
===
MIT License