open-index/open-npm huggingface dataset:
npm package: @kevin5979/lwj-cli
Description: 便捷开发的 vue-cli
Author: kevin5979
Latest version: 1.0.8

# lwj-cli

#### 介绍
便捷开发 vue 的 lwj-cli

#### 软件架构
软件架构说明


#### 安装教程
```js
npm install @kevin5979/lwj-cli -g
```
#### 使用说明

> 1.lwj create 项目名

> 2.1 【创建组件】
> lwj addcpn 组件名 [-d 路径]

> 2.2 【创建页面/路由】
> lwj addpage 路由名 [-d 路径]

> 2.3 【创建store】
> lwj addstore store [-d 路径]

> 3.1 【翻译单词】
> lwj f <单词、中文、句子>

> 3.1 【翻译文件内容】
> lwj f -i <文件位置>

> 3.2 【翻译结果输出到文件】
> lwj f hello -o <文件位置>

> 3.3 【翻译文件内容, 翻译结果输出到文件】
> lwj f -i <文件位置> -o <文件位置>

> 4.1 【(git add .) + (git commit -m'...') + (git push), 一步到位】
> lwj push <说明>
npm package: @kevin940726/use-lazy-ref
Description: Like useRef but only lazily initialize once
Author: Kai Hao
Latest version: 1.1.0

# use-lazy-ref

A custom [react hook](https://reactjs.org/docs/hooks-intro.html) equivalent of `useRef` but only lazily initialize once.

![npm](https://img.shields.io/npm/v/@kevin940726/use-lazy-ref.svg)

## Installation

```sh
yarn add @kevin940726/use-lazy-ref
```

```sh
npm install --save @kevin940726/use-lazy-ref
```

## Usage

```jsx
import useLazyRef from '@kevin940726/use-lazy-ref';

function App() {
  const ref = useLazyRef(() => expensiveCalculation());

  return ref.current;
}
```

## Author

Kai Hao

## License

[MIT](LICENSE)
npm package: @kevinastone/debounce
Description: Debounce implementation that delays invoking an async function until the supplied time in milliseconds elapses since the last time the debounced function was invoked.
Latest version: 0.3.0

# Debounce

Debounce implementation that delays invoking an async function until the supplied time in milliseconds elapses since the last time the debounced function was invoked.
npm package: @kevinazhu/hubot-mongodb-brain
Description: Persist hubot's brain to MongoDB instead of Redis.
Author: Kevin Zhu
Latest version: 1.0.1

# hubot-mongodb-brain-kzhu

> Persist [Hubot](https://hubot.github.com/)'s brain to MongoDB instead of Redis.

## Usage

In a Hubot project repo, e.g. [kevinazhu/hubot-rocketchat-rss](https://github.com/kevinazhu/hubot-rocketchat-rss), run:

```
yarn add @kevinazhu/hubot-mongodb-brain;
```

Update the `./external-scripts.json` in your hubot project repo to add **hubot-mongodb-brain**:

```json
[
  "@kevinazhu/hubot-mongodb-brain"
]
```

## Configuration

Set the `MONGODB_URL` and `MONGODB_DBNAME` environment variable to specify the MongoDB deployment
to use [Default: `mongodb://localhost:27017` and `hubot-brain`].

### Debugging

Adjust the `HUBOT_LOG_LEVEL` environment variable should you run into problems.
For example, to see the actual data in hubot's brain:

```
HUBOT_LOG_LEVEL=debug ./bin/hubot;
```

For safety, the actual values inside the brain will be logged using [mongodb-redact](http://npm.im/mongodb-redact):

<img src="https://cldup.com/hQXWKKH6oX-1200x1200.png" width="600" />
npm package: @kevinazhu/hubot-rss-reader
Description: Hubot RSS Reader
Author: Kevin Zhu
Latest version: 1.0.1

Hubot RSS Reader
================
RSS Reader for each Chat Channels, works with Hubot.

- https://github.com/kevinazhu/hubot-rss-reader

![screen shot](http://gyazo.com/234dfb14d76bb3de9efd88bfe8dc6522.png)

Requirements
------------

- hubot-brain
  - recommend [@kevinazhu/hubot-mongodb-brain](https://github.com/kevinazhu/hubot-mongodb-brain).

Install
-------

    % yarn add @kevinazhu/hubot-rss-reader

### edit `external-script.json`

```json
["@kevinazhu/hubot-rss-reader"]
```

### Configure (ENV vars)

    export DEBUG=hubot-rss-reader*      # debug print
    export HUBOT_RSS_INTERVAL=600       # 600 sec (default)
    export HUBOT_RSS_HEADER=:sushi:     # RSS Header Emoji (default is "sushi")
    export HUBOT_RSS_USERAGENT=hubot    # (default is "hubot-rss-reader/#{package_version}")
    export HUBOT_RSS_PRINTSUMMARY=true  # print summary (default is "true")
    export HUBOT_RSS_PRINTIMAGE=false   # print image in summary (default is "true")
    export HUBOT_RSS_PRINTMARKDOWN=true # use markdown message (default is "false")
    export HUBOT_RSS_PRINTERROR=false   # print error message (default is "true")
    export HUBOT_RSS_IRCCOLORS=true     # use IRC color message (default is "false")
    export HUBOT_RSS_LIMIT_ON_ADD=false # limit printing entries on add new feed. (default is 5)
    export HUBOT_RSS_ADMIN_USERS=""      # limit dump to special user (list without spaces eg. "user1,user2")
    export HUBOT_RSS_UPLOADIMAGEPREVIEW=true  # upload image preview as file (default is "true")

Usage
-----

### add

    hubot rss add https://github.com/Flipez.atom
    # or
    hubot rss register https://github.com/Flipez.atom


### delete

    hubot rss delete https://github.com/Flipez.atom
    hubot rss delete #room_name (only within the room or for users in HUBOT_RSS_ADMIN_USERS list)

### list

    hubot rss list
    hubot rss dump (only for users in HUBOT_RSS_ADMIN_USERS list)

## About

This project was forked from [hubot-rss-reader](https://github.com/shokai/hubot-rss-reader)
from [shokai](https://github.com/shokai) with the fixes from [yynozk](https://github.com/yynozk)
and [hubot-rss-rolf](https://www.npmjs.com/package/hubot-rss-rolf), while also fixing other minor bugs
to make it useable for rocketchat again.
npm package: @kevinbatdorf/alpine-auto-init
Description: A lightweight auto init helper for Alpine.js
Author: Kevin Batdorf
Latest version: 0.1.1

# alpine-auto-init
A lightweight helper to auto call an init() method for Alpine.js

![GitHub file size in bytes](https://img.shields.io/github/size/kevinbatdorf/alpine-auto-init/dist/index.js?label=minified&style=flat-square)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/kevinbatdorf/alpine-auto-init?label=version&style=flat-square)

## About

Use this for when you want to auto initialize your AlpineJS instances using an `init()` function. Perfect when you don't need to use state.

```html
<ul x-data="customBullets()">
  <li>One</li>
  <li>Two</li>
</ul>
```
```js
function customBullets() {
  return {
    init() {
      for (let item of this.$el.children) {
        // Change list items
      }
    }
  }
}
```
[Demo](https://codepen.io/KevinBatdorf/pen/wvMGoPz)

## Installation

Include the following `<script>` tag in the `<head>` of your document (before Alpine):

```html
<script src="https://cdn.jsdelivr.net/gh/KevinBatdorf/alpine-auto-init@0.x.x/dist/index.js"></script>
```

### Manual

If you wish to create your own bundle:

```bash
npm install KevinBatdorf/alpine-auto-init --save
```

Then add the following to your script:

```javascript
import 'alpine-auto-init'
import 'alpinejs'
```

## License

Copyright (c) 2020 Kevin Batdorf

Licensed under the MIT license, see [LICENSE.md](LICENSE.md) for details.
npm package: @kevinbatdorf/alpine-auto-interval
Description: A lightweight interval function for Alpine.js that lets you call a function every n milliseconds
Author: Kevin Batdorf
Latest version: 0.1.0


# Alpine — Auto Interval
A lightweight interval plugin for Alpine.js that lets you call a function every n milliseconds

![GitHub file size in bytes](https://img.shields.io/github/size/kevinbatdorf/alpine-auto-interval/dist/index.js?label=minified&style=flat-square)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/kevinbatdorf/alpine-auto-interval?label=version&style=flat-square)

## About

Useful when you need to change state every n seconds, such as in a slideshow, or even to check on some external data.

```html
<!-- Counter example -->
<div
  x-data="{ count: 0, add() { this.count++ } }"
  x-alpine-interval="add"
  x-text="count">
</div>
```
[Demo](https://codepen.io/KevinBatdorf/pen/816d973df4cd45d060999c7dab8ceb98?editors=1000)

The timer defaults to 1000ms but you can pass in parameters to override
```html
<!-- Counter example with timer adjusted -->
<div
  x-data="{ count: 0, add() { this.count++ } }"
  x-alpine-interval="{ callback: 'add', timer: 3000 }"
  x-text="count">
</div>
```
[Demo](https://codepen.io/KevinBatdorf/pen/41aa6f9dddc37036ead75c086fb8f7c7?editors=1000)

The delay defaults to the timer but you can pass in parameters to override.
```html
<!-- Counter example with delay adjusted  -->
<div
  x-data="{ count: 0, add() { this.count++ } }"
  x-alpine-interval="{ callback: 'add', delay: 3000 }"
  x-text="count">
</div>
```
[Demo](https://codepen.io/KevinBatdorf/pen/20a55f4c172e86aa11d16de192475391?editors=1000)

## Installation

Include the following `<script>` tag in the `<head>` of your document (before Alpine):

```html
<script src="https://cdn.jsdelivr.net/gh/kevinbatdorf/alpine-auto-interval@0.x.x/dist/index.js"></script>
```

### Manual

If you wish to create your own bundle:

```bash
npm install kevinbatdorf/alpine-auto-interval --save
```

Then add the following to your script:

```javascript
import 'alpine-auto-interval'
import 'alpinejs'
```

## License

Copyright (c) 2020 Kevin Batdorf

Licensed under the MIT license, see [LICENSE.md](LICENSE.md) for details.