open-index/open-npm huggingface dataset:
npm package: @pugdag/core-lib
Description: JavaScript Pugdag library.
Latest version: 1.6.9

# JavaScript Data Primitives Library for Pugdag

**PLEASE NOTE: This project is under heavy development and is not
production ready**

Based on the popular [Bitcore library](https://github.com/bitpay/bitcore)
developed by BitPay for the Bitcoin and [Kaspacore](https://github.com/aspectron/kaspa-core-lib)
developed by ASPECTRON Inc., Pugdagcore library provides primitives for
interfacing with the Pugdag network.

## Get Started

```sh
git clone https://github.com/pugdag-network/node-pugdag-core-lib
```

Adding Pugdagcore to your app's `package.json`:

```json
"dependencies": {
    "pugdag/pugdagcore-lib": "*"
}
```

## Pugdag adaptation

Pugdagcore library provides primitives such as Transaction and UTXO
data structures customized for use with the next-generation
high-performance Pugdag network.

## Documentation

The complete docs are hosted here: [bitcore documentation](https://github.com/bitpay/bitcore).
There's also a [bitcore API reference](https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md)
available generated from the JSDocs of the project, where you'll find
low-level details on each bitcore utility.

## Building the Browser Bundle

To build a pugdagcore-lib full bundle for the browser:

```sh
gulp browser
```

This will generate files named `pugdagcore-lib.js` and
`pugdagcore-lib.min.js`.

# License

Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).

Bitcore - Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark
maintained by BitPay, Inc.

Kaspacore - Copyright 2020 ASPECTRON Inc.

Pugdagcore - Copyright 2023 Pugdag Developers.
npm package: @pugdag/process-list
Description: Cross-platform method to receive the list of the launched processes
Author: Dmitry Tsvettsikh
Latest version: 2.0.2

<p align='center'>
  <img src='logo.png' height='250' width='483' alt='logo' />
  <p align='center'>Cross-platform native method to receive the list of the launched processes</p>
</p>

[![Build Status](https://travis-ci.org/reklatsmasters/node-process-list.svg?branch=master)](https://travis-ci.org/reklatsmasters/node-process-list) [![Build status](https://ci.appveyor.com/api/projects/status/oy0sbnie2a0d5hou?svg=true)](https://ci.appveyor.com/project/ReklatsMasters/node-process-list) [![npm](https://img.shields.io/npm/v/process-list.svg)](https://npmjs.org/package/process-list) [![license](https://img.shields.io/npm/l/process-list.svg)](https://npmjs.org/package/process-list) [![downloads](https://img.shields.io/npm/dm/process-list.svg)](https://npmjs.org/package/process-list) 
[![Greenkeeper badge](https://badges.greenkeeper.io/reklatsmasters/node-process-list.svg)](https://greenkeeper.io/)

### Install

```bash
npm i process-list
# or
yarn add process-list
```

It's that easy! npm will download one of the [prebuilt](https://github.com/reklatsmasters/node-process-list/releases/latest) binaries for your OS. If you need to build `process-list`, see [node-gyp](https://npmjs.org/package/node-gyp) for more details.

### Supported OS

* `Windows` Windows 7+, Windows Server 2008 R2+
* `Linux` any Linux-based distributives
* `OS X` *Soon...*

### Usage
```js
const { snapshot } = require("process-list");

const tasks = await snapshot('pid', 'name');
console.log(tasks);

// output
// [{
//    name: "1.exe",
//    pid: 1234,
// }, ... ]
```

### API

##### `snapshot(...field: String): Promise<[]Object>`
Returns the list of the launched processes.

##### `allowedFields: []String`
List of allowed fields.

* `pid: Number` - process pid
* `ppid: Number` - parent process pid
* `name: String` - process name (title)
* `path: String` - full path to the process binary file
* `threads: Number` - threads per process
* `owner: String` - the owner of the process
* `priority: Number` - an os-specific process priority
* `cmdline: String` - full command line of the process
* `starttime: Date` - the process start date / time
* `vmem: String` - virtual memory size in bytes used by process
* `pmem: String` - physical memory size in bytes used by process
* `cpu: Number` - cpu usage by process in percent
* `utime: String` - amount of time in ms that this process has been scheduled in user mode
* `stime: String` - amount of time that in ms this process has been scheduled in kernel mode

## License

MIT, Copyright &copy; 2014 - 2019 Dmitry Tsvettsikh
npm package: @puge/array
Description: SVG动画选择框
Author: PUGE
Latest version: 1.0.1

# checkbox

> SVG动画效果选择框.
![Alt text](http://puge-10017157.cossh.myqcloud.com/github8600/check-puge/%E5%BD%95%E5%88%B6_2018_02_23_17_09_21_270.gif)
## 安装 及 使用

```bash
$ npm install --save @puge/checkbox
```

使用组件

```vue
<template>
  <CheckBox v-model="checkValue" :size="12">
</template>

<script>
  import CheckBox from '@puge/checkbox'
  export default {
    components: {
      CheckBox
    }
  }
</script>
```

### 参数

#### value
类型: `Boolean`<br>
必要性: `true`<br>
默认值: `无`

定义组件是否被选中.

```html
<CheckBox :value="false">
```

#### size
类型: `Number`<br>
必要性: `false`<br>
默认值: `20`

选择框大小.

#### borderWidth
类型: `Number`<br>
必要性: `false`<br>
默认值: `1`

#### borderColor
类型: `String`<br>
必要性: `false`<br>
默认值: `#333333`

```html
<CheckBox :size="18">
```
npm package: @puge/checkbox
Description: SVG动画选择框
Author: PUGE
Latest version: 1.1.7

# checkbox

> SVG动画效果选择框.
![Alt text](http://puge-10017157.cossh.myqcloud.com/github8600/check-puge/%E5%BD%95%E5%88%B6_2018_02_23_17_09_21_270.gif)
## 安装 及 使用

```bash
$ npm install --save @puge/checkbox
```

使用组件

```vue
<template>
  <CheckBox v-model="checkValue" :size="12">
</template>

<script>
  import CheckBox from '@puge/checkbox'
  export default {
    components: {
      CheckBox
    }
  }
</script>
```

### 参数

#### value
类型: `Boolean`<br>
必要性: `true`<br>
默认值: `无`

定义组件是否被选中.

```html
<CheckBox :value="false">
```

#### size
类型: `Number`<br>
必要性: `false`<br>
默认值: `20`

选择框大小.

#### margin
类型: `Number`<br>
必要性: `false`<br>
默认值: `1`

选择框大小.

#### borderWidth
类型: `Number`<br>
必要性: `false`<br>
默认值: `1`

#### borderColor
类型: `String`<br>
必要性: `false`<br>
默认值: `#333333`

```html
<CheckBox :size="18">
```
npm package: @puge/clock
Description: 时钟
Author: PUGE
Latest version: 1.0.1

# @puge/clock


> 时钟组件
![Alt text](http://github-puge.oss-cn-beijing.aliyuncs.com/time/time.png)

## 安装 及 使用

```bash
$ npm install --save @puge/time
```

使用组件

```vue
<template>
  <Clock :fontSize="20" color="#FFFFFF" :allDate="true">
</template>

<script>
  import Clock from '@puge/time'
  export default {
    components: {
      Clock
    }
  }
</script>
```

### 参数

#### fontSize
类型: `Number`<br>
必要性: `false`<br>
默认值: 20

字体大小

#### color
类型: `String`<br>
必要性: `false`<br>
默认值: `#FFFFFF`

字体颜色

#### allDate
类型: `Boolean`<br>
必要性: `false`<br>
默认值: false

是否显示完整时间

### 事件

input 编辑结束事件
npm package: @puge/details
Description: 展开收缩
Author: PUGE
Latest version: 1.0.0

# @puge/highlight


> SVG动画效果选择框.
![Alt text](http://github-puge.oss-cn-beijing.aliyuncs.com/highlight/high.png)

## 安装 及 使用

```bash
$ npm install --save @puge/details
```

使用组件

```vue
<template>
  <Details title="Have you heard about details?">
    <p>That's pretty manageable too! Use the <code>summary</code> element.</p>
    <p>Put a <code>summary</code> at the beginning of your details element and <b>Boom!</b> - you've got a custom title for your <code>details</code> block.</p>
    <p>No worries if you don't add a <code>summary</code>. The browser will put the word "Details" in there for you. (After all, users need something to click!)</p>
  </Details>
</template>

<script>
  import Details from '@puge/details'
  export default {
    components: {
      Details
    }
  }
</script>
```

效果:
![Alt text](http://github-puge.oss-cn-beijing.aliyuncs.com/details/1.png)


```vue
<template>
  <Details title="Have you heard about details?">
    <p>You bet! Here are some great resources on <code>details</code> &amp; <code>summary</code>:</p>
    <ul>
      <li>MDN: <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details" target="_blank" rel="noopener">details</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary" target="_blank" rel="noopener">summary</a></li>
      <li><a href="http://html5 doctor.com/the-details-and-summary-elements/" target="_blank" rel="noopener">HTML5Doctor</a></li>
      <li><a href="https://www.scottohara.me/blog/2018/09/03/details-and-summary.html" target="_blank" rel="noopener">Scott O'Hara</a></li>
      <li><a href="https://blog.teamtreehouse.com/use-details-summary-elements" target="_blank" rel="noopener">Treehouse Blog</a></li>
      <li><a href="https://webdesign.tutsplus.com/tutorials/explaining-the-details-and-summary-elements--cms-21999" target="_blank" rel="noopener">Envato Tuts+</a></li>
      <li><a href="https://caniuse.com/#feat=details" target="_blank" rel="noopener">caniuse table for <code>details</code></a></li>
    </ul>
  </Details>
</template>

<script>
  import Details from '@puge/details'
  export default {
    components: {
      Details
    }
  }
</script>
```

效果:
![Alt text](http://github-puge.oss-cn-beijing.aliyuncs.com/details/2.png)


### 参数

#### title
类型: `String`<br>
必要性: `false`<br>
默认值: `  `

标题
npm package: @puge/highlight
Description: JSON着色格式化
Author: PUGE
Latest version: 1.1.8

# @puge/highlight


> SVG动画效果选择框.
![Alt text](http://github-puge.oss-cn-beijing.aliyuncs.com/highlight/high.png)

## 安装 及 使用

```bash
$ npm install --save @puge/highlight
```

使用组件

```vue
<template>
  <Highlight v-model="jsonData">
</template>

<script>
  import Highlight from '@puge/highlight'
  export default {
    components: {
      Highlight
    },
    data () {
      return {
        jsonData: {
          "string": "12345",
          "array": [1, 2, 3, 4]
        }
      }
    }
  }
</script>
```

### 参数

#### padding
类型: `String`<br>
必要性: `false`<br>
默认值: `  `

间距

#### spacing
类型: `String`<br>
必要性: `false`<br>
默认值: `  `

分个符号

#### contenteditable
类型: `Boolean`<br>
必要性: `false`<br>
默认值: false

是否可被编辑

### 事件

input 编辑结束事件
npm package: @puge/http
Description: 快速启动一个Http服务
Latest version: 1.0.1

# sharing

Ever wanted to share a certain directory on your network by running just a command? Then this module is exactly what you're looking for: It provides a neat interface for listing the directory's contents and switching into sub folders.

In addition, it's also awesome when it comes to serving static sites. If a directory contains an `index.html`, `serve` will automatically render it instead of serving directory contents, and will serve any `.html` file as a rendered page instead of file's content as plaintext.

![screenshot](https://raw.githubusercontent.com/zeit/art/4bafffc43b38f3b796eb2f9071292d13d129a7d8/serve/example.png)

## 使用方法

Install it (needs at least Node LTS):

```bash
npm install -g sharing
```

And run this command in your terminal:

```bash
serve [options] <path>
```

### Options

通过这条命令查看可用选项:

```bash
serve help
```

### Authentication

If you set the `--auth` flag, the package will look for a username and password in the `SERVE_USER` and `SERVE_PASSWORD` environment variables.

As an example, this is how such a command could look like:

```bash
SERVE_USER=leo SERVE_PASSWORD=1234 serve --auth
```

## API

You can also use the package inside your application. Just load it:

```js
const serve = require('serve')
```

And call it with flags (run [this command](#options) for the full list):

```js
const server = serve(__dirname, {
  port: 1337,
  ignore: ['node_modules']
})
```

Later in the code, you can stop the server using this method:

```js
server.stop()
```

## Contributing

1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device
2. Uninstall `serve` if it's already installed: `npm uninstall -g serve`
3. Link it to the global module directory: `npm link`

After that, you can use the `serve` command everywhere. [Here](https://github.com/zeit/serve/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+for+beginners%22)'s a list of issues that are great for beginners.

## Credits

This project used to be called "list" and "micro-list". But thanks to [TJ Holowaychuk](https://github.com/tj) handing us the new name, it's now called "serve" (which is much more definite).

## Author

Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [▲ZEIT](https://zeit.co)
npm package: @puge/opencv-build
Description: A simple script to auto build recent OpenCV + contrib version via npm
Author: justadudewhohacks
Latest version: 0.2.7

[![Build Status](https://travis-ci.org/puge/npm-opencv-build.svg?branch=master)](http://travis-ci.org/puge/npm-opencv-build)
[![Build status](https://ci.appveyor.com/api/projects/status/uv8n2sruno95rxtq/branch/master?svg=true)](https://ci.appveyor.com/project/puge/npm-opencv-build/branch/master)

A simple script to auto build recent OpenCV + contrib version via npm. This script is used to auto build <a href="https://github.com/puge/opencv4nodejs"><b>opencv4nodejs</b></a>.



# Install
``` bash
npm install @puge/opencv-build@0.2.0
```

## Requirements

- cmake

### Windows

- windows build tools or Visual Studio

``` bash
npm install --global windows-build-tools
```

### Centos

```
yum groupinstall "Development Tools"

sudo yum install cmake

```

## Environment Variables

It's possible to specify build environment variables by inserting them into the `package.json` where the dependency is declared an object like:

```json
{
  "opencv4nodejs": {
    "autoBuildFlags": "-DOPENCV_GENERATE_PKGCONFIG=ON -DOPENCV_PC_FILE_NAME=opencv.pc",
    "autoBuildOpencvVersion": "4.1.0"
  }
}
```

The following environment variables can be passed:

- autoBuildBuildCuda
- autoBuildFlags
- autoBuildOpencvVersion
- autoBuildWithoutContrib
- disableAutoBuild
- opencvIncludeDir
- opencvLibDir
- opencvBinDir
npm package: @puge/scoreboard
Description: 一个记分板
Author: PUGE
Latest version: 1.0.4

# scoreboard

安装
```
npm i -save @puge/scoreboard
或
yarn add @puge/scoreboard
```

## 参数

| 参数        | 含义         | 类型  | 是否必须  |
| ----------- |:-------------:| -----:| -----:|
|num| 显示的数值 | Number | true |

## 动画样式
![default](http://p5qgrn52w.bkt.clouddn.com/counting-board/%E5%BD%95%E5%88%B6_2018_06_22_10_58_30_497.gif)

## 使用示例
```
<template>
  <div id="app">
    <counting :num="2323"></counting>
  </div>
</template>

<script>
import counting from '@puge/scoreboard'

export default {
  name: 'app',
  components: {
    counting
  }
}
</script>
```
npm package: @puge/three-orbit-controls
Description: orbit controls for ThreeJS
Author: Matt DesLauriers
Latest version: 82.1.1
Deprecated: false

# three-orbit-controls

[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)

ThreeJS OrbitControls as an npm module. See [test](#testing) for an example.

```js
var THREE = require('three')
var OrbitControls = require('three-orbit-controls')(THREE)

function start(gl, width, height) {
    renderer = new THREE.WebGLRenderer({
        canvas: gl.canvas
    })
    renderer.setClearColor(0x000000, 1.0)

    scene = new THREE.Scene()
    camera = new THREE.PerspectiveCamera(50, width/height, 1, 1000)
    camera.position.set(0, 1, -3)
    camera.lookAt(new THREE.Vector3())

    controls = new OrbitControls(camera)

    var geo = new THREE.BoxGeometry(1,1,1)
    var mat = new THREE.MeshBasicMaterial({ wireframe: true, color: 0xffffff })
    var box = new THREE.Mesh(geo, mat)
    scene.add(box)
}

function render(gl, width, height) {
    renderer.render(scene, camera)
}
```

## Usage

[![NPM](https://nodei.co/npm/three-orbit-controls.png)](https://nodei.co/npm/three-orbit-controls/)

#### `OrbitControls = require('three-orbit-controls')(THREE)`

This module exports a function which accepts an instance of THREE, and returns an OrbitControls class. This allows you to use the module with CommonJS, globals, etc.

The returned function has the following constructor pattern:

```js
controls = new OrbitControls(camera[, domElement])
```

#### Versioning

This uses an unusual versioning system to better support ThreeJS's (lack of) versioning. The major version of this repo will line up with ThreeJS breaking releases (`69.0.0` => `r69`). Often the module will continue to work (i.e. `69.0.0` should work with r70).

The minor will be reserved for any new features, and patch for bug fixes and documentation/readme updates. In some rare cases, a minor feature may introduce a breaking change; so it's generally safest to use tilde or `--save-exact` for this module.

If you see any version issues, open a ticket!

## testing

Git clone, `npm install` and then run `npm start` to spin up a development server. Open `localhost:9966` in your browser to see the `test.js` file in action.
npm package: @pugilism/william-hill-boxing
Description: Returns upcoming boxing matches, the start time and odds
Author: Mike DiDomizio
Latest version: 1.0.0

# WilliamHill Boxing
Returns upcoming boxing matches, the start time and odds

## How to use
```typescript
import {getWilliamHillMatches} from '@pugilism/william-hill-boxing';

// Outputs the array of results
(async () => {
    const results = await getWilliamHillMatches();
    console.log(results);
})();
```

## Note
Not affiliated with WilliamHill
npm package: @pugna/unimo
Description: a mimiapp framework based on [cordova](https://cordova.apache.org/)
Author: mugglecloud
Latest version: 1.0.0

# unimo

a mimiapp framework based on [cordova](https://cordova.apache.org/)

## Feature

- cordova based
- react component
- webgpu, not webgl

## Not Supported

- embeded in naative app
npm package: @pugswap-libs/eslint-config-pug
Description: Eslint config for PugSwap
Author: RabbitDoge
Latest version: 1.0.0

# eslint-config-pug

**This repository is not used anymore. See the [Pug toolkit](https://github.com/pugswap/pug-toolkit) instead**

Pug Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @pugswap-libs/eslint-config-pug
```

Add `"extends": "@pugswap-libs/eslint-config-pug"` to your eslint config file.
npm package: @pugswap-libs/sdk
Description: 🛠 An SDK for building applications on top of pugswap.
Latest version: 1.0.2

# Pugswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/pugswap/pugswap-sdk/workflows/CI/badge.svg)](https://github.com/pugswap/pugswap-sdk)
[![npm version](https://img.shields.io/npm/v/@pugswap-lib/sdk/latest.svg)](https://www.npmjs.com/package/@pugswap-lib/sdk/v/latest)

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/pugswap/pugswap-sdk.git
```

Move into the pugswap-sdk working directory

```sh
cd pugswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @pugswap-libs/uikit
Description: Set of UI components for pug projects
Latest version: 0.15.3

# 🥞 Pug UIkit

**This repository is not used anymore. See the [https://github.com/pugswap/pug-toolkit](Pug toolkit) instead**

[![Version](https://img.shields.io/npm/v/@pugswap-libs/uikit)](https://www.npmjs.com/package/@pugswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pugswap-libs/uikit)](https://www.npmjs.com/package/@pugswap-libs/uikit)

Pug UIkit is a set of React components and hooks used to build pages on Pug's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pugswap-libs/uikit`

## Setup

### Theme

Before using Pug UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pugswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pugswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pugswap.github.io/pug-uikit/)