open-index/open-npm huggingface dataset:
npm package: @pi-team-mn/oracle-event-listener
Description: Libary to listen to OracleDB events and execute on them
Author: pi-team@mn.nl [David Diks]
Latest version: 1.2.1

# Oracle Event Listener

Execute function on Oracle DB events. Oracle AW is required to use this library!

## Example

```typescript
async function main() {
    // The :event in the query is important!
    const query = `begin
                                      :event := event_source_package.dequeue_event_function();
                                   end;`; 

    const oracleConfig = readPoolConfigFromEnv(process.env);
    const pool = await (getConnection(oracleConfig));
    await testConnection(pool);

    let nrConnections = 0;

    while (nrConnections < pool.poolMax) {
        executeOnEvent<IncomingEvent>(pool, query, async item => {
            return await sendToCoda(transform(item));
        }).catch((err: any) => console.error(err));
        nrConnections++;
        console.log(`Awaiting events ... (coroutine ${nrConnections})`);
    }
}

main().catch(err => console.error(err))
```

## Environment variables

name | required | notes
--- | --- | ---
ORACLE_CONNECTION_STRING | yes | connection string for the database
ORACLE_USER | yes | user to connect to db with
ORACLE_PASSWORD | yes | password for the user
npm package: @pi-ui/core
Description: Vue 3.x UI Components Library for quick iteration
Author: Wisdom
Latest version: 0.0.7

# @pi-ui/core
🍧 Vue 3.x UI Components Library for quick iteration.


<div align="center">

![image](https://raw.githubusercontent.com/pdsuwwz/wwzImages/fa186e20ceb2a651252e6994a7e60f76dfe557be/images/pi-ui-core.svg)

</div>

## 介绍
`Pi` 即 π，众所周知 π 是一个无理数，有着不重复，不终止的含义，基于此赋予它无限迭代的概念，寓意着项目可以一直迭代下去。


## 安装
```bash
npm install @pi-ui/core
# or
yarn add @pi-ui/core
```


## 快速上手
```js
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

// 引入 @pi-ui/core
import PiUI from '@pi-ui/core'
import '@pi-ui/core/lib/pi.css'

createApp(App)
  .use(router)
  .use(PiUI) // 注册到Vue中
  .mount('#app')
```

## 开发
下载项目进行依赖安装 `npm install` or `yarn`

```
# 运行
yarn serve

# 打包文档
yarn build

# 打包组件
yarn lib
```

## 提交规范
```
feat: 新功能（feature）

fix: 修补 bug

docs: 文档

style: 格式

refact: 重构

test: 测试用例

chore: 构建过程或辅助工具的变动
```

## 赞赏
您的 star 是对作者最大的支持和动力！
npm package: @pi0/algolia
Description: Algolia module for Nuxt
Author: Jakub Andrzejewski
Latest version: 1.1.5

[![@nuxtjs/algolia](https://algolia.nuxtjs.org/preview.png)](https://algolia.nuxtjs.org)

# @nuxtjs/algolia

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]

> [Algolia](https://www.algolia.com/) module for [Nuxt](https://v3.nuxtjs.org)

- [✨ &nbsp;Release Notes](https://github.com/nuxt-modules/algolia/releases)
- [📖 &nbsp;Read the documentation](https://algolia.nuxtjs.org)

## Features

- Nuxt 3 ready
- Easy integration with Algolia
- Handy composables like useAlgolia, useSearch, etc
- Support for Vue Instantsearch components
- Support for Algolia Recommend
- Support for Docsearch
- Support for Automatic Indexing
- TypeScript support

[📖 &nbsp;Read the documentation](https://algolia.nuxtjs.org)

## Preview

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/baroshem/nuxt3-algolia-stackblitz)

## Setup

```sh
yarn add @nuxtjs/algolia # yarn
npm i @nuxtjs/algolia # npm
```

## Basic usage

Firstly, you need to add `@nuxtjs/algolia` to your Nuxt config.

```javascript
// nuxt.config.js

{
    modules: [
        "@nuxtjs/algolia",
    ],
    algolia: {
        apiKey: "<YOUR_SEARCH_API_KEY>",
        applicationId: "<YOUR_APPLICATION_ID>",
    }
}
```

Then you can start using `@nuxtjs/algolia` in your setup function!

```vue
<script setup>
const { result, search } = useAlgoliaSearch("test_index"); // pass your index as param

onMounted(async () => {
  await search({ query: "Samsung" });
});
</script>
```

## Development

1. Clone this repository
2. Install dependencies using `yarn install` or `npm install`
3. Start development server using `yarn dev` or `npm run dev`

## License

[MIT License](./LICENSE)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/algolia/latest.svg
[npm-version-href]: https://npmjs.com/package/@nuxtjs/algolia
[npm-downloads-src]: https://img.shields.io/npm/dt/@nuxtjs/algolia.svg
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/algolia
[github-actions-ci-src]: https://github.com/nuxt-modules/algolia/actions/workflows/ci.yml/badge.svg
[github-actions-ci-href]: https://github.com/nuxt-modules/algolia/actions?query=workflow%3Aci
[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-modules/algolia.svg
[codecov-href]: https://codecov.io/gh/nuxt-modules/algolia
[license-src]: https://img.shields.io/npm/l/@nuxtjs/algolia.svg
[license-href]: https://npmjs.com/package/@nuxtjs/algolia
npm package: @pi0/capi
Description: Composition API hooks for Nuxt
Author: Daniel Roe
Latest version: 0.22.4-2

<h1 align="center">🏗️ Nuxt Composition API</h1>
<p align="center">Composition API hooks for Nuxt</p>

<p align="center">
<a href="https://npmjs.com/package/@nuxtjs/composition-api">
    <img alt="" src="https://img.shields.io/npm/v/@nuxtjs/composition-api/latest.svg?style=flat-square">
</a>
<a href="https://bundlephobia.com/result?p=@nuxtjs/composition-api">
    <img alt="" src="https://img.shields.io/bundlephobia/minzip/@nuxtjs/composition-api?style=flat-square">
</a>
<a href="https://npmjs.com/package/@nuxtjs/composition-api">
    <img alt="" src="https://img.shields.io/npm/dt/@nuxtjs/composition-api.svg?style=flat-square">
</a>
<a href="https://lgtm.com/projects/g/nuxt-community/composition-api">
    <img alt="" src="https://img.shields.io/lgtm/alerts/github/nuxt-community/composition-api?style=flat-square">
</a>
<a href="https://lgtm.com/projects/g/nuxt-community/composition-api">
    <img alt="" src="https://img.shields.io/lgtm/grade/javascript/github/nuxt-community/composition-api?style=flat-square">
</a>
<a href="https://david-dm.org/nuxt-community/composition-api">
    <img alt="" src="https://img.shields.io/david/nuxt-community/composition-api.svg?style=flat-square">
</a>
</p>

> `@nuxtjs/composition-api` provides a way to use the Vue 3 Composition API in with Nuxt-specific features.

**Note**: the main aim is to allow experimentation and feedback before the final release of Nuxt 3. The API of Nuxt-specific methods will likely change before Nuxt 3 is released.

## Features

- 🏃 **Fetch**: Support for the new Nuxt `fetch()` in v2.12+
- ℹ️ **Context**: Easy access to `router`, `app`, `store` within `setup()`
- 🗺️ **Head**: Interact directly with your `vue-meta` properties within `setup()`
- ✨ **Automatic hydration**: Drop-in replacement for `ref` with automatic SSR stringification and hydration (`ssrRef`)
- 📝 **SSR support**: Allows using the Composition API with SSR
- 💪 **TypeScript**: Written in TypeScript

<p align="center">
<a href="https://composition-api.nuxtjs.org/">Read Documentation</a>
</p>

## Contributors

Contributions are very welcome.

1. Clone this repo

   ```bash
   git clone git@github.com:nuxt-community/composition-api.git
   ```

2. Install dependencies and build project

   ```bash
   yarn
   # Compile library and watch for changes
   yarn watch
   # Start a test Nuxt fixture with hot reloading
   yarn fixture
   # Test
   yarn test
   ```

**Tip:** You can also use `yarn link` to test the module locally with your Nuxt project.

## License

[MIT License](./LICENCE) - Copyright &copy; Daniel Roe
npm package: @pi0/framework7
Description: Full featured mobile HTML framework for building iOS & Android apps
Author: Vladimir Kharlampidi
Latest version: 2.0.0-beta.9

<a href="https://www.patreon.com/vladimirkharlampidi"><img src="https://cdn.framework7.io/i/support-badge.png" height="20"></a>
[![Join the chat at https://gitter.im/nolimits4web/Framework7](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nolimits4web/Framework7)
[![Build Status](https://travis-ci.org/nolimits4web/Framework7.svg?branch=master)](https://travis-ci.org/nolimits4web/Framework7)
[![devDependency Status](https://david-dm.org/nolimits4web/framework7/dev-status.svg)](https://david-dm.org/nolimits4web/framework7#info=devDependencies)

Framework7
==========

Full Featured Mobile HTML Framework For Building iOS & Android Apps

## Getting Started
  * [Getting Started Guide](http://www.idangero.us/framework7/get-started/)
  * Clone/download this repo
  * Start building your App from changing Kitchen Sink, or using a clean template.

## Build

Framework7 uses `gulp` and `rollup` to build a development (build) and productuin (dist) versions.

First you need to have `gulp-cli` which you should install globally.

```
$ npm install --global gulp
```

Then install all dependencies, in repo's root:

```
$ npm install
```

And build development version of Framework7:
```
$ npm run build-dev
```

The result is available in `build/` folder.

## Dist/Release

To build production version of Framework7:

```
$ npm run build-prod
```

Production version will be available in `dist/` folder.

## Kitchen Sink

Kitchen Sink uses Ajax for navigation between pages so you will need a server.

Run Kitchen Sink with development environment (development version will be built first):

```
$ npm run dev
```

Run Kitchen Sink with production environment (configured to scripts and styles from `dist/` folder):

```
$ npm run prod
```

## Contributing

All changes should be commited to `src/` files. Framework7 uses LESS for CSS compliations, and ES modules JS files.

The project uses [.editorconfig](http://editorconfig.org/) to define the coding style of each file. We recommend that you install the Editor Config extension for your preferred IDE.

If you want to help in Framework7 development and make it event better visit this page: http://framework7.io/contribute/

## Forum

If you have questions about Framework7 or want to help others you are welcome to special forum at http://forum.framework7.io/

## Docs

Documentation available at http://framework7.io/docs/

## Tutorials

Tutorials available at http://framework7.io/tutorials/

## Showcase

Appstore apps made with Framework7: http://framework7.io/showcase/
npm package: @pi0/framework7-vue
Description: Build full featured iOS & Android apps using Framework7 & Vue
Author: Vladimir Kharlampidi
Latest version: 2.0.0-beta.1.5

<a href="https://www.patreon.com/vladimirkharlampidi"><img src="https://cdn.framework7.io/i/support-badge.png" height="20"></a>
[![devDependency Status](https://david-dm.org/nolimits4web/framework7-vue/dev-status.svg)](https://david-dm.org/nolimits4web/framework7-vue#info=devDependencies)

# Framework7 Vue

Framework7 Vue combines power and simplicity of great Vue.js framework with flexibility and UI of Framework7 mobile framework to build mobile apps in even more easy and quick way.

## Getting Started
  * [Installation Guide](http://framework7.io/vue/installation.html)
  * [Starter App Templates](http://framework7.io/vue/templates.html)
  * [App Layout](http://framework7.io/vue/app-layout.html)
  * [Initialize App](http://framework7.io/vue/init-app.html)
  * [Navigation Router](http://framework7.io/vue/navigation-router.html)

## Kitchen Sink

Install Dependencies
```
$ npm i
```

Start Kitchen Sink:
```
$ npm run dev
```

## Docs

Documentation available at http://framework7.io/vue/
npm package: @pi0/mkdist
Description: Lightweight file-to-file transformer
Latest version: 1.4.0-rc.2

# mkdist

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions][github-actions-src]][github-actions-href]
[![Codecov][codecov-src]][codecov-href]

<!-- ![...](.github/banner.svg) -->

> Lightweight file-to-file transformer

✅ Copies all assets

✅ Supports [Vue Single File Components](https://vuejs.org/v2/guide/single-file-components.html)

✅ Fast and minimal transform by [esbuild](https://github.com/evanw/esbuild)

✅ `.d.ts` generation for `.ts`, `.js` and `.vue` files

## ❓ Why?

Bundling libraries isn't always the best choice:

- We lose original file structure
- We lose modern syntax by transpiling in bundle
- We lose critical-css by extracting css to a global dist (vue)
- Dependencies will be always imported from bundle even if not used (a second bundling step might fix this but it usually won't happen in development and for dependencies with side-effects)

While there are tools like [tsc](https://www.typescriptlang.org/docs/handbook/compiler-options.html) and [@babel/cli](https://babeljs.io/docs/en/babel-cli), they mostly focus on transpiling rather than keeping source level quality. Also they lack support for handling custom extensions like `.vue` and copying assets.

## 🚀 Usage

```bash
npx mkdist [rootDir] [--src=src] [--dist=dist] [--pattern=glob [--pattern=more-glob]] [--format=cjs|esm] [-d|--declaration] [--ext=mjs|js|ts]
```

## License

[MIT](./LICENSE)

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/mkdist?style=flat-square
[npm-version-href]: https://npmjs.com/package/mkdist

[npm-downloads-src]: https://img.shields.io/npm/dm/mkdist?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/mkdist

[github-actions-src]: https://img.shields.io/github/actions/workflow/status/unjs/mkdist/ci.yml?branch=main&style=flat-square
[github-actions-href]: https://github.com/unjs/mkdist/actions?query=workflow%3Aci

[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/mkdist/main?style=flat-square
[codecov-href]: https://codecov.io/gh/unjs/mkdist
npm package: @pi0/nuxt-start
Description: runtime-only build for nuxt
Latest version: 1.0.0-rc8

# nuxt-start

> Start Nuxt.js Application in production mode.

## Installation

```bash
npm install --save nuxt-start
````

Add/Update your "start" script into your `package.json`:

```json
{
	"scripts": {
		"start": "nuxt-start"
	}
}
```

## Usage

```bash
nuxt-start <dir> -p <port number> -H <hostname> -c <config file>
```

## Programmatic Usage

```js
const { Nuxt } = require('nuxt-start')

// Require nuxt config
const config = require('./nuxt.config.js')

// Create a new nuxt instance
const nuxt = new Nuxt(config)

// Start nuxt.js server
nuxt.listen(3000) // nuxt.listen(port, host)

// Or use `nuxt.render` as an express middleware
```
npm package: @pi0/nuxt-web-vitals
Description: Web Vitals for Nuxt.js
Latest version: 0.1.10

# Nuxt Web Vitals

> Web Vitals: Essential module for a healthy [Nuxt.js](https://github.com/nuxt/nuxt.js)

[Web Vitals](https://web.dev/vitals) is an initiative by Google to provide unified guidance for quality signals that are essential to delivering a great user experience on the web.  
This module will gather those metrics on each page view, and send them to a provider using either [`Navigator.sendBeacon()`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon) or [`fetch()`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch)

## Installation

```bash
# yarn
yarn add --dev @nuxtjs/web-vitals

# npm
npm install --save-dev @nuxtjs/web-vitals
```

Add `@nuxtjs/web-vitals` to the `buildModules` section of your `nuxt.config.js`

```javascript
export default {
  buildModules: [
    '@nuxtjs/web-vitals'
  ]
}
```

:warning: If you are using Nuxt **< v2.9** you have to install the module as a `dependency` (No `--save-dev` or `--dev` flags) and use `modules` section in `nuxt.config.js` instead of `buildModules`.

## Options

```js
{
  webVitals: {
    // provider: '', // auto detectd
    debug: false,
    disabled: false
  }
}
```

## Providers

### Google Analytics

_Report WebVitals to GA_

Create a GA property and get `trackingID`

Either provide `GOOGLE_ANALYTICS_ID` environement variable or set inside `nuxt.config`:

```js
export default {
  googleAnalytics: {
    id: 'UA-XXXXXXXX-X'
  }
}
```

Behavior > Events > Overview > Event Category > Event Action

![Events Actions](/assets/event-action.png)


### Vercel Analytics

_Report WebVitals to Vercel_

Works without configuration

### Basic logger

_Report WebVitals to Console_

Output metrics to the console insead of sending them to a remote provider 

```js
{
  webVitals: {
    provider: 'log',
    debug: true, // debug enable metrics reporting on dev environments
    disabled: false
  }
}
```

:warning: this provider does not send WebVitals trough network, issues with navigator extensions can not be deteced with this method.

### License

[MIT](https://opensource.org/licenses/MIT)
npm package: @pi0/pinia-nuxt
Description: Nuxt Module for pinia
Author: Eduardo San Martin Morote
Latest version: 0.2.1

# `@pinia/nuxt`

> Nuxt 2 & 3 module

## Installation

```shell
npm i @pinia/nuxt
```

## Usage

Add to `modules` (Nuxt 3) or `buildModules` (Nuxt 2) in `nuxt.config.js`:

```js
// Nuxt 2
export default {
  buildModules: [['@pinia/nuxt', { disableVuex: true }]],
}
// Nuxt 3
export default defineNuxtConfig({
    modules: ['@pinia/nuxt'],
})
```

Note you also need `@nuxtjs/composition-api` if you are using Nuxt 2 without Bridge. [Refer to docs for more](https://pinia.vuejs.org/ssr/nuxt.html).

## License

[MIT](http://opensource.org/licenses/MIT)
npm package: @pi0/req-url
Description: Easily grab full URL from a request (http.IncomingMessage) object
Author: Pooya Parsa
Latest version: 1.0.0

# req-url

Easily grab full URL from a request ([http.IncomingMessage](https://nodejs.org/api/http.html#http_class_http_incomingmessage)) object.

## Features

- Browser fall-back
- Detect HTTPS requests using [is-https](https://github.com/nuxt-community/is-https)
- Super Small (282B min-gzip)

## Usage

ESM import:

```js
import reqURL from 'req-url'
```

CommonJS import:

```js
const reqURL = require('req-url')
```

Default export signuture is:

```ts
reqURL(request?: http.IncomingMessage): String
```

Example:

```js
const url = getURL(req)
// http://localhost:3000/aaf/dfdf
// https://www.foo.com/foo/bar
```

## License

MIT
npm package: @pi0/supabase
Description: Supabase module for Nuxt3
Latest version: 0.0.13

[![@nuxtjs/supabase](./docs/static/preview.png)](https://supabase.nuxtjs.org)

# @nuxtjs/supabase

<!-- [![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href] -->

> [Supabase](https://supabase.com) module for [Nuxt](https://v3.nuxtjs.org)

- [✨ &nbsp;Release Notes](https://github.com/nuxt-community/supabase-module/releases)
- [📖 &nbsp;Read the documentation](https://supabase.nuxtjs.org)

## Features

- Nuxt 3 ready
- Authentication support using Supabase client
- TypeScript support

[📖 &nbsp;Read the documentation](https://supabase.nuxtjs.org)

## Development

1. Clone this repository
2. Install dependencies using `yarn install` or `npm install`
3. Start development server using `yarn dev` or `npm run dev`

## License

[MIT License](./LICENSE)

<!-- Badges -->
<!-- [npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/supabase/latest.svg
[npm-version-href]: https://npmjs.com/package/@nuxtjs/supabase

[npm-downloads-src]: https://img.shields.io/npm/dt/@nuxtjs/supabase.svg
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/supabase

[github-actions-ci-src]: https://github.com/nuxt-community/supabase-module/workflows/ci/badge.svg
[github-actions-ci-href]: https://github.com/nuxt-community/supabase-module/actions?query=workflow%3Aci

[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/supabase-module.svg
[codecov-href]: https://codecov.io/gh/nuxt-community/supabase-module

[license-src]: https://img.shields.io/npm/l/@nuxtjs/supabase.svg
[license-href]: https://npmjs.com/package/@nuxtjs/supabase -->
npm package: @pi0/vite-fix
Description: Native-ESM powered web dev build tool
Author: Evan You
Latest version: 2.0.4-3

# vite ⚡

> Next Generation Frontend Tooling

- 💡 Instant Server Start
- ⚡️ Lightning Fast HMR
- 🛠️ Rich Features
- 📦 Optimized Build
- 🔩 Universal Plugin Interface
- 🔑 Fully Typed APIs

Vite (French word for "fast", pronounced `/vit/`) is a new breed of frontend build tool that significantly improves the frontend development experience. It consists of two major parts:

- A dev server that serves your source files over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), with [rich built-in features](https://vitejs.dev/guide/features.html) and astonishingly fast [Hot Module Replacement (HMR)](https://vitejs.dev/guide/features.html#hot-module-replacement).

- A [build command](https://vitejs.dev/guide/build.html) that bundles your code with [Rollup](https://rollupjs.org), pre-configured to output highly optimized static assets for production.

In addition, Vite is highly extensible via its [Plugin API](https://vitejs.dev/guide/api-plugin.html) and [JavaScript API](https://vitejs.dev/guide/api-javascript.html) with full typing support.

[Read the Docs to Learn More](https://vitejs.dev).
npm package: @pi0/webpack-monitor
Description: Monitor your production builds throughout the development process with rich analysis tool
Author: Jon Roach, Gordon Yu, Balal Zuhair
Latest version: 0.0.4

# Webpack Monitor
Webpack Monitor is a configurable Webpack plugin that captures relevant statistics on your production builds, and an interactive analysis tool that helps developers better understand bundle composition and identify and prioritize optimization strategies.

## Usage

![webpack monitor analysis tool](https://roachjc.github.io/main3.gif)

Install the webpack monitor plugin on your production config. The plugin will collect stats whenever meaningful changes to bundle composition have occurred. Optionally launch analysis too to see how your bundles have changed over time!

## Setup
```sh
npm install --save-dev webpack-monitor
```

in `webpack.config.js`
```js
const WebpackMonitor = require('webpack-monitor');

// ...

plugins: [
  new WebpackMonitor({
    capture: true, // -> default 'true'
    target: '../monitor/myStatsStore.json', // default -> '../monitor/stats.json'
    launch: true, // -> default 'false'
    port: 3030, // default -> 8081
  }),
],
```

`capture` will collect stats on the build where meaningful changes have occured. We do not capture build data where the build does not differ from most recent build on file.
`target` specify where to save your build data
`launch` will fire up a local server and launch the webpack monitor analysis tool
`port` optionally set the port for local server

## Contributing
To contribute to `webpack-monitor`, fork the repository and clone it to your machine then install dependencies with `npm install`. If you're interested in joining the Webpack Monitor team as a contributor, feel free to message one of us directly!

## Authors

- Jon Roach (https://github.com/roachjc)
- Gordon Yu (https://github.com/gordonu)
- Balal Zuhair (https://github.com/bzuhair)

## License

This project is licensed under the MIT License - see the LICENSE.md file for details
npm package: @pi2star/koa-body-parsers
Description: collection of koa body parsers
Author: Jonathan Ong
Latest version: 3.0.0


# Koa Body Parsers

[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

Includes a `json`, `urlencoded`, and `multipart` parsers,
as well as a utility to save streams to disk.

See https://github.com/koajs/koala/blob/master/docs/body-parsing.md for more details.

[npm-image]: https://img.shields.io/npm/v/koa-body-parsers.svg?style=flat-square
[npm-url]: https://npmjs.org/package/koa-body-parsers
[travis-image]: https://img.shields.io/travis/koajs/body-parsers.svg?style=flat-square
[travis-url]: https://travis-ci.org/koajs/body-parsers
[coveralls-image]: https://img.shields.io/coveralls/koajs/body-parsers.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/koajs/body-parsers
[david-image]: http://img.shields.io/david/koajs/body-parsers.svg?style=flat-square
[david-url]: https://david-dm.org/koajs/body-parsers
[license-image]: http://img.shields.io/npm/l/koa-body-parsers.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/koa-body-parsers.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/koa-body-parsers
npm package: @pi2star/logger
Description: A simple logger.
Author: whl
Latest version: 1.1.2

# logger

---
Pi2star logger.

--- 

## Install

```bash
npm i @pi2star/logger
```

## Demo

```js
const logger = require('@pi2star/logger')

logger()

console.log('test')
console.info('test')
console.warn('test')
console.error('test')
```
```text
[INFO] test
[INFO] test
[WARN] test
[ERROR] test
```

With Timestamp

```js
const logger = require('@pi2star/logger')

logger({timestamp:true})

console.log('test')
console.info('test')
console.warn('test')
console.error('test')
```

```text
2019-11-13T04:17:25.221Z [INFO] test
2019-11-13T04:17:25.221Z [INFO] test
2019-11-13T04:17:25.221Z [WARN] test
2019-11-13T04:17:25.221Z [ERROR] test
```