open-index/open-npm huggingface dataset:
npm package: @leelen_npm/jpegtran-bin
Description: jpegtran (part of libjpeg-turbo) bin-wrapper that makes it seamlessly available as a local dependency
Author: Sindre Sorhus
Latest version: 5.0.2

# jpegtran-bin [![Build Status](https://travis-ci.org/imagemin/jpegtran-bin.svg?branch=master)](https://travis-ci.org/imagemin/jpegtran-bin)

> [libjpeg-turbo](http://libjpeg-turbo.virtualgl.org/) is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression on x86, x86-64, and ARM systems. On such systems, libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg, all else being equal.

You probably want [`imagemin-jpegtran`](https://github.com/imagemin/imagemin-jpegtran) instead.


## Install

```
$ npm install --save jpegtran-bin
```


## Usage

```js
const {execFile} = require('child_process');
const jpegtran = require('jpegtran-bin');

execFile(jpegtran, ['-outfile', 'output.jpg', 'input.jpg'], error => {
	console.log('Image minified!');
});
```


## CLI

```
$ npm install --global jpegtran-bin
```

```
$ jpegtran --help
```


## License

MIT © [Imagemin](https://github.com/imagemin)
npm package: @leelen_npm/mozjpeg
Description: mozjpeg wrapper that makes it seamlessly available as a local dependency
Latest version: 7.1.0

# mozjpeg-bin ![GitHub Actions Status](https://github.com/imagemin/mozjpeg-bin/workflows/test/badge.svg?branch=master)

> [mozjpeg](https://github.com/mozilla/mozjpeg) is a production-quality JPEG encoder that improves compression while maintaining compatibility with the vast majority of deployed decoders

You probably want [`imagemin-mozjpeg`](https://github.com/imagemin/imagemin-mozjpeg) instead.


## Install

```
$ npm install mozjpeg
```


## Usage

```js
const {execFile} = require('child_process');
const mozjpeg = require('mozjpeg');

execFile(mozjpeg, ['-outfile', 'output.jpg', 'input.jpg'], err => {
	console.log('Image minified!');
});
```


## CLI

```
$ npm install --global mozjpeg
```

```
$ mozjpeg --help
```


## License

MIT © [Imagemin](https://github.com/imagemin)
npm package: @leelen_npm/optipng-bin
Description: OptiPNG wrapper that makes it seamlessly available as a local dependency
Latest version: 7.0.0

# optipng-bin [![Build Status](https://travis-ci.org/imagemin/optipng-bin.svg?branch=master)](https://travis-ci.org/imagemin/optipng-bin)

> [OptiPNG](http://optipng.sourceforge.net) is a PNG optimizer that recompresses image files to a smaller size, without losing any information

You probably want [`imagemin-optipng`](https://github.com/imagemin/imagemin-optipng) instead.


## Install

```
$ npm install --save optipng-bin
```


## Usage

```js
const {promisify} = require('util');
const {execFile} = require('child_process');
const optipng = require('optipng-bin');

const execFileP = promsify(execFile);

(async () => {
	await execFile(optipng, ['-out', 'output.png', 'input.png']);
	console.log('Image minified!');
})();
```


## CLI

```
$ npm install --global optipng-bin
```

```
$ optipng --help
```
npm package: @leelen_npm/vite-plugin-theme
Description: Vite plugin for dynamically changing the theme color of the interface
Author: Vben
Latest version: 0.8.9

# vite-plugin-theme

**English** | [中文](./README.zh_CN.md)

[![npm][npm-img]][npm-url] [![node][node-img]][node-url]

Vite plugin for dynamically changing the theme color of the interface

After vite processes the css and dynamically analyzes the color value in the css text that matches the plug-in configuration, extract the specified color style code from all output css files. And create a `app-theme-style.css` file containing only color styles, dynamically insert it into the specified position (the bottom of the default body), and then replace the custom style/component library style color used with the new color, In order to achieve the purpose of dynamically changing the theme color of the project

### Install (yarn or npm)

**node version:** >=12.0.0

**vite version:** >=2.0.0

```
yarn add vite-plugin-theme -D
```

or

```
npm i vite-plugin-theme -D
```

## Usage

- Config plugin in vite.config.ts. In this way, the required functions can be introduced as needed

```ts
import { defineConfig, Plugin } from 'vite';
import vue from '@vitejs/plugin-vue';

import { viteThemePlugin, mixLighten, mixDarken, tinycolor } from 'vite-plugin-theme';

export default defineConfig({
  plugins: [
    vue(),
    viteThemePlugin({
      // Match the color to be modified
       colorVariables: [],
    });
  ],
});
```

## Options

`viteThemePlugin(Options)`

**Options**

| param | type | default | desc |
| --- | --- | --- | --- |
| colorVariables | `string[]` | - | If css contains the color value in the array, css will be extracted |
| wrapperCssSelector | `string` | - | Universal outer selector. You can pass in'body' and other selectors to increase the level |
| resolveSelector | `(selector:string)=>string` | - | Custom selector conversion |
| customerExtractVariable | `(css:string)=>string` | - | Custom css matching color extraction logic |
| fileName | `string` | `app-theme-style.hash.css` | File name output after packaging |
| injectTo | `body` or `head` or `body-prepend` | `body` | The css loaded in the production environment is injected into the label body |

## Sample project

[Vben Admin](https://github.com/vbenjs/vue-vben-admin)

## Reference project

- [webpack-theme-color-replacer](https://github.com/hzsrc/webpack-theme-color-replacer)
- [webpack-stylesheet-variable-replacer-plugin](https://github.com/eaTong/webpack-stylesheet-variable-replacer-plugin)

## License

MIT

[npm-img]: https://img.shields.io/npm/v/vite-plugin-html.svg
[npm-url]: https://npmjs.com/package/vite-plugin-html
[node-img]: https://img.shields.io/node/v/vite-plugin-html.svg
[node-url]: https://nodejs.org/en/about/releases/
npm package: @leemcdonald-au/eventsemitter
Description: Adds a call() function to EventEmitter to call events directly.
Author: Lee McDonald
Latest version: 1.0.0

### EventsEmitter
A simple class extension to EventEmitter allowing quick and easy calling of an event with supplied parameters.

#### Usage
```javascript
// Import the library.
import EventsEmitter from '@leemcdonald-au/eventsemitter'

// Create the new EventsEmitter
const emitter = new EventsEmitter

// Assign an event.
emitter.on('myevent', (param1, param2) => { console.log(`I was given ${param1} and ${param2}`); return 'breakfast' })

// Call an event directly with provided params.
const result = emitter.call('myevent', 'some eggs', 'milk')
console.log(`So I had some ${result}`)

// Or in an async function for example.
import { readFile } from 'fs/promises'

emitter.on('ENOENT', error => { console.log("File does not exist."); return null })

async function init() {
    // Get a file that doesn't exist 'cause this is an error showcase.
    const key = await readFile('/path/to/my/soul', { encoding: 'utf8' }).catch(error => emitter.call(error.code, error))
    // Key file could not be read by readFile.
    if(!key) { console.log("Guess we'll have to proceed without it.") }
    // Key file was loaded.
    else { console.log("All went well. Nice.") }
}

init()
```

#### Support
- RVN: RPzCvWdmgqPTBA5qMQFuRPfNoJmvPnVzw8
- ARK: Aeh9tR1zjE34hBrYfSD1EMfL1cxpkaVJKb
- ETH: 0xd9979f482da58b4432d0f52eb456f7dd1f4897e6
- BTC: 1HzR3Vyu231E8SsGLUbNYSb92bn6MGLEaV
npm package: @leemcdonald-au/simplecli
Description: A simple CLI to JSON converter.
Author: Lee McDonald
Latest version: 1.0.1

## SimpleCLI
Quick and dirty method to parse CLI input into a simple JSON object.

##### Installation
Stock NPM install.
> npm install @leemcdonald-au/simplecli

##### Usage
```javascript
// Assume script is executed node . --boolean -variable has a value that can include spaces --anotherbool --finalbool -variable2 single-value --getting-tricky
import SimpleCLI from '@leemcdonald-au/simplecli'

const cli = new SimpleCLI
console.log(cli)
```

The object will include EXEC and SCRIPT as addons to CLI input for easier usage.

##### Support
- RVN: RPzCvWdmgqPTBA5qMQFuRPfNoJmvPnVzw8
- ARK: Aeh9tR1zjE34hBrYfSD1EMfL1cxpkaVJKb
- ETH: 0xd9979f482da58b4432d0f52eb456f7dd1f4897e6
- BTC: 1HzR3Vyu231E8SsGLUbNYSb92bn6MGLEaV
npm package: @leemcdonald-au/simplefork
Description: A simple method for handling child_process.fork objects.
Author: Lee McDonald
Latest version: 1.0.1

## SimpleFork
A quick and dirty method to handle child_process.fork() objects.

### Install
Nomral NPM Installation.
> npm install @leemcdonald-au/simplefork

### Usage
```javascript
import SimpleFork from '@leemcdonald-au/simplefork'

const fork = new SimpleFork(`/path/to/my/script.js`, ['-key', '/etc/letsencrypt/key.pem', '-cert', '/etc/letsencrypt/cert.pem'])

// Trigger an abort error.
fork.abort()

// Kill process quietly.
fork.kill()

// Send data to process.
fork.send({ my: "beautiful", obj: "rules" })

// Send a socket.
require('net').createServer(socket => fork.send(null, socket)).listen(6110)

// Stock fork() emitters are passed.
fork.on('message', (message, socket) => console.log(message, socket ? 'yeah' : 'nah'))
fork.on('error', error => console.error(error))

```

### Support
- RVN: RPzCvWdmgqPTBA5qMQFuRPfNoJmvPnVzw8
- ARK: Aeh9tR1zjE34hBrYfSD1EMfL1cxpkaVJKb
- ETH: 0xd9979f482da58b4432d0f52eb456f7dd1f4897e6
- BTC: 1HzR3Vyu231E8SsGLUbNYSb92bn6MGLEaV
npm package: @leemcdonald-au/simplejson
Description: Handle JSON without crashing on failed parses etc.
Author: Lee McDonald
Latest version: 1.0.0

## SimpleJSON
A quick method to handle JSON quick and easy.

#### Install
Nomral NPM Installation.
> npm install @leemcdonald-au/simplejson

#### Usage
```javascript
// Import from NPM.
import SimpleJSON from '@leemcdonald-au/simplerequest'

// Create some test data.
const obj   = { "a": "b", "c": "d" }
const text  = JSON.stringify(obj)

// Send into the JSON class.
const test1 = new SimpleJSON(obj)
const test2 = new SimpleJSON(text)

// Output the results.
console.log(test1.string, test1.object)
console.log(test2.string, test2.object)
```

#### Changelog
- 1.0.0
    - Release

##### Support
- RVN: RPzCvWdmgqPTBA5qMQFuRPfNoJmvPnVzw8
- ARK: Aeh9tR1zjE34hBrYfSD1EMfL1cxpkaVJKb
- ETH: 0xd9979f482da58b4432d0f52eb456f7dd1f4897e6
- BTC: 1HzR3Vyu231E8SsGLUbNYSb92bn6MGLEaV
npm package: @leemcdonald-au/simplerequest
Description: Convert HTTP/S requests into an EventEmitter or a Promise.
Author: Lee McDonald
Latest version: 1.0.2

## SimpleRequest
A quick method to handle HTTP/S request.

#### Install
Nomral NPM Installation.
> npm install @leemcdonald-au/simplerequest

#### Usage
```javascript
import SimpleRequest from '@leemcdonald-au/simplerequest'

// As an EventEmitter
const request = new SimpleRequest({ host: 'www.google.com', port: 443 })
request.on('end',   data => console.log(data))
request.on('error', error => console.error(error))

// As a Promise.
const request = SimpleRequest.promise({ host: 'www.google.com', port: 443 })
request.then(data => console.log(data)).catch(error => console.error(error))
```

#### Changelog
- 1.0.2
    - request.value was never actually set.

##### Support
- RVN: RPzCvWdmgqPTBA5qMQFuRPfNoJmvPnVzw8
- ARK: Aeh9tR1zjE34hBrYfSD1EMfL1cxpkaVJKb
- ETH: 0xd9979f482da58b4432d0f52eb456f7dd1f4897e6
- BTC: 1HzR3Vyu231E8SsGLUbNYSb92bn6MGLEaV
npm package: @leemhenson-moixa/react-scripts
Description: Moixa configuration and scripts for Create React App.
Latest version: 3.3.1

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.