open-index/open-npm huggingface dataset:
npm package: @shaon07/express-log
Description: A middleware function for Express.js that mimics Laravel's dd() function.
Author: shaon07
Latest version: 1.0.2



```markdown
# express-log

A middleware function for Express.js that mimics Laravel's `dd()` function. This package helps you log and inspect variables easily during development.

## Features

- Simple and easy-to-use middleware.
- Mimics Laravel's `dd()` function for debugging.
- Outputs JSON and console logs.
```

## If using Testing app like POSTMAN, 
then set the following settings
```bash 
pm.visualizer.set(pm.response.text());
```

![normal](https://img001.prntscr.com/file/img001/SKy5tcSUQ9Cvofb2ya8lfA.png)

## Installation

Install the package using npm:

```bash 
npm install express-log
```

## Usage

### Normal Console Logging

Typically, you might log variables in an Express.js application like this:

```javascript
const express = require('express');

const app = express();

app.get('/', (req, res) => {
  const user = [
    { name: "John Doe", age: 30 },
    { name: "Jane Doe", age: 25 },
    { name: "Bob Smith", age: 28 },
  ]
  console.log(user); // Logs the user object to the console
  res.send('Check your console for logged variables!');
});

const PORT = process.env.PORT || 3000;
app.listen(PORT, () => {
  console.log(`Server is running on port ${PORT}`);
});
```

![normal](https://img001.prntscr.com/file/img001/fBtR-ryLQ7qUvgrWekXGTg.png)

### Using `express-log`

To use `express-log` in your Express.js application, follow these steps:

1. Import the package and use it as middleware:

```javascript
const express = require('express');
const log = require('express-log');

const app = express();

// Use express-log middleware
app.use(log);

// Your routes here
app.get('/', (req, res) => {
  const user = [
    { name: "John Doe", age: 30 },
    { name: "Jane Doe", age: 25 },
    { name: "Bob Smith", age: 28 },
  ]
  req.log(user); // Uses express-log to log the user data
  res.send('Check your console for logged variables!');
});

const PORT = process.env.PORT || 3000;
app.listen(PORT, () => {
  console.log(`Server is running on port ${PORT}`);
});
```

![normal](https://img001.prntscr.com/file/img001/BDjFz6ADRmqbXv0g1UPZpg.png)

2. The `express-log` middleware will log variables to the console when a request is made.

## Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes and commit them (`git commit -am 'Add new feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Submit a pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Support

If you encounter any issues or have questions, please open an issue on the [GitHub repository](https://github.com/shaon07/express-log/issues).

## Links

- [GitHub Repository](https://github.com/shaon07/express-log)
- [npm Package](https://www.npmjs.com/package/express-log)
npm package: @shaonialife/vue-echarts-components
Description: echarts components for vue
Author: lizhihua
Latest version: 0.0.19

# vue-echarts-components

目前仅实现了部分组件, 暂时不要在生产环境使用
[参考demo](https://github.com/shaonialife/vue-echarts-components/tree/master/demo)

## Usage
```javascript
import Vue from 'vue';
import VueEchartsComponents from '@shaonialife/vue-echarts-components';

Vue.use(VueEchartsComponents);
```

```vue
<template>
  <vec-container style="width: 300px; height: 400px">
    <vec-title
      text="Vue Echarts Components"
      left="center"
      top="top"
    />
  </vec-container>
</template>
```
npm package: @shaonq/vue
Description: shaonq vue library
Author: shaonq@qq.com
Latest version: 1.3.2

```ts
lerna clean    # 从所有包中删除 node_modules
lerna publish  # 发布
lerna link     # 关联包，模拟发布后的效果
lerna ls       # 查看本地包列表

```
npm package: @shaoo/cssoo
Description: 根据输入的参数生成常用的 CSS 代码片段，包括 优惠券、三角形、单行省略、多行省略等
Author: shaobeichen
Latest version: 2.2.0

# cssoo

<a href="" target="__blank"><img src="https://img.shields.io/node/v/%40shaoo%2Fcssoo?style=for-the-badge" alt=""></a>
<a href="https://www.npmjs.com/package/@shaoo/cssoo" target="_blank"><img src="https://img.shields.io/npm/v/%40shaoo%2Fcssoo?style=for-the-badge" alt=""></a>
<a href="https://www.npmjs.com/package/@shaoo/cssoo" target="_blank"><img src="https://img.shields.io/npm/dm/%40shaoo/cssoo?style=for-the-badge" alt=""></a>
<a href="" target="_blank"><img src="https://img.shields.io/npm/l/%40shaoo%2Fcssoo?style=for-the-badge" alt=""></a>

> 根据输入的参数生成常用的 CSS 代码片段，包括 优惠券、三角形、单行省略、多行省略等

## 预览

<img src="./docs/preview.png" width="400">

## 使用

```shell
npx @shaoo/cssoo
```

## 注意

如果 cssoo 升级了版本，但使用 npx 命令安装的版本还是旧版本，需要先清除 npx 缓存

```shell
npx clear-npx-cache
```

## 已支持片段

- 优惠券
- 三角形
- 单行溢出省略号
- 多行溢出省略号
- 修改滚动条样式

## 待支持片段

- 0.5px 边框 上下 左右 全部