open-index/open-npm huggingface dataset:
npm package: @gavinhsmith/simpledatabase
Description: A node module for creating/managing easy-access SQLite databases.
Author: gavinhsmith
Latest version: 1.1.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# SimpleDatabase

A node module for creating/managing easy-access SQLite databases.

> **This package version is deprecated**. We have moved to **[@gavinhsmith/simpledb](https://www.npmjs.com/package/@gavinhsmith/simpledb).**
npm package: @gavinhsmith/simpledb
Description: A node module for creating/managing easy-access SQLite databases.
Author: gavinhsmith
Latest version: 1.2.2

# simpledb

A node module for creating/managing easy-access SQLite databases.

[![NPM Version](https://img.shields.io/npm/v/%40gavinhsmith%2Fsimpledb?style=flat-square&label=NPM%20Version&labelColor=cc3838&color=f0f0f0)](https://www.npmjs.com/package/@gavinhsmith/simpledb)
[![NPM Downloads](https://img.shields.io/npm/d18m/%40gavinhsmith%2Fsimpledb?style=flat-square&label=NPM%20Downloads&labelColor=cc3838&color=f0f0f0)](https://www.npmjs.com/package/@gavinhsmith/simpledb)
[![License](https://img.shields.io/github/license/gavinhsmith/simpledb?style=flat-square&label=Licence&color=f0f0f0)](https://github.com/gavinhsmith/simpledb?tab=MIT-1-ov-file)

## Install

Install `simpledb` via your favorite package manager.

### [NPM](https://www.npmjs.com/package/@gavinhsmith/simpledb)

```shell
npm install @gavinhsmith/simpledb
```

### [Yarn](https://yarnpkg.com/package?name=%40gavinhsmith%2Fsimpledb)

```shell
yarn add @gavinhsmith/simpledb
```

## Usage

TypeDoc Files can be found at the [API Docs](https://gavinhsmith.github.io/simpledb/).

Include in your project create a new instace of the Database class.

```ts
// Import the module.
import Database from "@gavinhsmith/simpledb";

// Load the database.
const db = Database("file.db");

// Qeury the database.
db.table("users").allEntries().then((entries) => {...});
```

## Config

Module can be configed in the `Database` constructor.

```ts
const db = Database("file.db", {
  verbose: true,
});
```

### Config Options

| Config Option |   Type    | Default |                                 Description                                  |
| :-----------: | :-------: | :-----: | :--------------------------------------------------------------------------: |
|   _verbose_   | `boolean` | `false` | Enables sqlite3.verbose() and enables verbose logging throughout the module. |

## Contributing

Clone the repository, and run `npm i` or `yarn` to install the dependancies and build the module. Run module tests via the `test` script in package.json.

Workflow tests require [act](https://github.com/nektos/act). You **do not need** this for module development, as workflow tests are not run during CI.

I'll review pull requests in time.
npm package: @gavinkings/eslint-config
Description: eslint config of gavinkings
Latest version: 1.0.0

# Eslint Config of gavinkings

## Install

```shell
# with npm
npm i @gavinkings/eslint-config -D

# with yarn
yarn add @gavinkings/eslint-config -D

# with pnpm
pnpm add @gavinkings/eslint-config -D
```

## Usage

```js
  "eslintConfig": {
    "root": true,
        "extends": [
        "@gavinkings"
    ]
}
```
npm package: @gavinkings/stylelint-config
Description: stylelint config of gavinkings
Latest version: 1.0.0

# Stylelint Config of gavinkings

## Install

```shell
# with npm
npm i @gavinkings/stylelint-config -D

# with yarn
yarn add @gavinkings/stylelint-config -D

# with pnpm
pnpm add @gavinkings/stylelint-config -D
```

## Usage

```js
  "stylelint": {
    "extends": [
        "@gavinkings/stylelint-config"
    ]
}
```
npm package: @gavinning/assert
Description: 参数检查，数据检查，不通过则抛出错误消息，支持批量检查
Author: gavinning
Latest version: 0.0.2

assert
---
已迁移到 [``@4a/assert``](https://www.npmjs.com/package/@4a/assert)

### Install
```sh
npm i @4a/assert
```
npm package: @gavinning/enum
Description: enum for js
Author: gavinning
Latest version: 0.0.1

Enum.js
---
Enum for js


### Install
```sh
npm i @gavinning/enum --save
```


### Usage
```js
import Enum from '@gavinning/enum'

```

```js
let Week = new Enum([
    'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'
])
```

```js
let Theme = new Enum([
    'light', 'night'
])
```

```js
let Size  = new Enum({
    small: 14,
    normal: 16,
    large: 20
})
```
npm package: @gavinning/http
Description: fe http mod
Author: gavinning
Latest version: 0.1.3

Http
---
通用API请求封装、最新位置已移动到 [@4a/http](https://www.npmjs.com/package/@4a/http)  

### Install
依赖``axios``，请自行安装
```sh
npm i axios @4a/http
```

### More
帮助文档请移步 [@4a/http](https://www.npmjs.com/package/@4a/http)
npm package: @gavinning/jump-server
Description: jump server
Author: gavinning
Latest version: 0.1.5

JumpServer
---
跳板机，推荐配合``oh-my-zsh``服用

![](demo.png)

### Requirements
* nodejs 8.x+  
* npm 6.x+  

### Install
```sh
npm i @gavinning/jump-server -g
```

### Usage
```sh
j2
# or
jumpserver
```

### yaml配置文件
配置文件路径``~/.jumpserver.yml``  
```yaml
# 统一授权
auth:
    port: 22
    password: 123
    # 默认privateKey优先
    privateKey: '/root/.ssh/your-private-key'
    passphrase: 123
    # 连接超时时间
    readyTimeout: 5000

server:
    centos.shared:
        name: hostname1
        desc: 测试机12
        username: root
        
    192.168.1.222:
        name: hostname21
        desc: 测试机234
        username: work

    192.168.1.31:
        name: hostname3
        desc: 测试机3342
        port: 22
        username: super
        password: 123
        privateKey: '/root/.ssh/your-private-key'
        passphrase: 123
```
npm package: @gavinzhang/fullcalendar
Description: 简易活动日历
Author: Gavin
Latest version: 1.0.17

# FullCalendar

简易活动日历

### 介绍

🌟 支持节日展示
🌟 支持活动日程标注
🌟 支持活动日程标注

<img src="./screenshot.jpg" width="880" style="margin:20px 0" />

#### 浏览器兼容性

支持所有符合 [ES5 标准的浏览器](http://kangax.github.io/compat-table/es5/)（不确定是否支持 IE9 及以下版本）。

### 安装

git

```bash
git clone https://github.com/Gavin-js/fullcalendar.git
cd fullcalendar && yarn install
```

yarn

```bash
yarn add @gavinzhang/fullcalendar
```
npm

```bash
npm install @gavinzhang/fullcalendar --save-dev
```

### 使用

```javascript
const calendar = new fullcalendar(element, {
    //日期
    date: new Date(),
    //活动日程
    activities: [
      {
        title: '**活动',
        start: '2019-7-1',
        end: '2019-7-20',
        background: 'green',
        hoverBackground: 'yellow'
      }
    ]
  });
  calendar.bind('onDateClick', (e, date, target) => {
    console.log('onDateClick', e, date, target)
  })
  calendar.bind('onActivityClick', (e, data, target) => {
    console.log('onActivityClick', e, data, target)
  })
  calendar.bind('onDateChange', (data) => {
    console.log('onDateChange', data)
  })
```
### 使用文档

更多请查看[Docs](https://gavin-js.github.io/fullcalendar)

### 示例 [Sample](https://github.com/Gavin-js/fullcalendar/tree/master/examples)