open-index/open-npm huggingface dataset:
npm package: @pierogi.dev/get_geth_connections
Description: This package is  just only a selector of preset addresses of the [Geth](https://github.com/ethereum/go-ethereum) using [web3.js](https://github.com/ChainSafe/web3.js).
Latest version: 1.0.1

# About
This package is  just only a selector of preset addresses of the [Geth](https://github.com/ethereum/go-ethereum) using [web3.js](https://github.com/ChainSafe/web3.js).

# Usage
Prepare a .env file like below according to your development environment using the Geth and the web3.js.  
```shell
GETH_VPN_HTTP_API_ADDRESS=http://171.1.1.1:8545
GETH_VPN_SOCKET_API_ADDRESS=ws://171.1.1.1:8546
GETH_LAN_HTTP_API_ADDRESS=http://192.168.1.1:8545
GETH_LAN_SOCKET_API_ADDRESS=ws://192.168.1.1:8546
```
And use the module like below.
```javascript
import {gethVpnHttpClient, gethVpnSocketClient, gethHttpClient, gethSocketClient} from "@pierogi.dev/get_geth_connections";

//Get a block information from a http api of the Geth.
let blockInfo = gethHttpClient.getBlock('15000000');

//Get a new block information from a socket api of the Geth via vpn.
gethVpnSocketClient.subscribe('newBlockHeaders', (error: Error, result: T) => {
    console.log(result);
});
```
npm package: @pierogi.dev/readable_time
Description: This package makes a date time string of current time or a specific date time string of unix time of an argument.
Latest version: 1.0.6

# About
This package makes a date time string of current time or a specific date time string of unix time of an argument.  

# Usage
```javascript
import {currentTimeReadable, unixTimeReadable} from "@pierogi.dev/readable_time";

//This will display a current date time string like 2022-08-01 12:00:00
console.log(currentTimeReadable);

//This will display a specific date time string 2022-08-17 07:44:23
console.log(unixTimeReadable(1660722263));
```

# Note
Both functions return UTC time.  
An argument of `unixTimeReadable` must be on the second timescale, not on the micro second timescale.
npm package: @pierogis/tweakpane-plugin-grouplist
Description: grouped list plugin for Tweakpane
Author: pierogis_live
Latest version: 0.1.0

# tweakpane-plugin-grouplist
plugin to use option groups in select dropdown for [Tweakpane][tweakpane].


## Installation


### Browser
```html
<script src="tweakpane.min.js"></script>
<script src="tweakpane-plugin-grouplist.min.js"></script>
<script>
  const pane = new Tweakpane.Pane();
  pane.registerPlugin(TweakpaneGrouplistPlugin);
</script>
```


### Package
```js
import {Pane} from 'tweakpane';
import * as GrouplistPlugin from '@pierogis/tweakpane-plugin-grouplist';

const pane = new Pane();
pane.registerPlugin(GrouplistPlugin);
```


## Usage
```js
// use nested objects to define option group labels, option names, and option values
const objectOptgroups = {
  [group1Name]: {
    [group1Option1Name]: group1Option1Value,
    [group1Option2Name]: group1Option2Value
  },
  [group2Name]: {
    [group2Option1Name]: group2Option1Value,
    [group2Option2Name]: group2Option2Value
  }
}

// available as blade
pane.addBlade({
  view: 'grouplist',
  value: group1Option1Value,
  optgroups: objectOptgroups,
  label: 'selected'
})

const params = {
  'selected': group1Option1Value,
};

// or input
pane.addInput(params, 'selected', {
  view: 'grouplist',
  optgroups: objectOptgroups
}).on('change', (ev) => {
  console.log(ev.value);
});

// OR

// use nested objects to define option group labels, option names, and option values
const arrayOptgroups = [
  {
    text: group1Name,
    value: [
      {text: 'group 1 option 1', value: group1Option1Value},
      {text: 'group 1 option 2', value: group1Option2Value}
    ]
  },
  {
    text: group2Name,
    value: [
      {text: 'group 2 option 1', value: group2Option1Value},
      {text: 'group 2 option 2', value: group2Option2Value}
    ]
  }
]

pane.addBlade({
  view: 'grouplist',
  value: group1Option1Value,
  optgroups: arrayOptgroups,
  label: 'selected'
})

const params = {
  'selected': group1Option1Value,
};

pane.addInput(params, 'selected', {
  view: 'grouplist',
  optgroups: arrayOptgroups
}).on('change', (ev) => {
  console.log(ev.value);
});
```


[tweakpane]: https://github.com/cocopon/tweakpane/