open-index/open-npm huggingface dataset:
npm package: @joshiggins/unix-socket-credentials
Description: Get the uid, gid and pid of a client that connects to your unix socket server
Author: spion
Latest version: 0.2.0

# node-unix-socket-credentials

Get the uid, gid and pid of a client that connects to your node.js unix socket server

Writing multi-user system services in node has suddenly become much easier!

# install

From npm

    npm install unix-socket-credentials

# usage

Sync and async methods are provided:

Full async example:

```js
var uscred = require('unix-socket-credentials');
var net = require('net');

net.createServer(function(cli) {
    uscred.getCredentials(cli, function(err, res) {
        // You can now use the uid/gid/pid of the client process
        console.log(res.uid, res.gid, res.pid);
    });
}).listen('/tmp/test.sock');
```


Shortened sync example:

```js
var res = uscred.getCredentialsSync(cli);
console.log(res.uid, res.gid, res.pid);
```

# licence

MIT
npm package: @joshikailashraj/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 4.0.2

# 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.
npm package: @joshkennedy00/create-wp-plugin
Description: 1.  install cli tool globally with yarn or npm ```bash yarn global add @joshkennedy00/create-wp-plugin ```
Latest version: 1.0.8

#DOCUMENTATION

1.  install cli tool globally with yarn or npm
```bash
yarn global add @joshkennedy00/create-wp-plugin
```


2.  run command create-wp-plugin
```bash
create-wp-plugin
```

2.  follow the prompts

3.  run yarn or npm install
```bash
yarn 
```
npm package: @joshkrutz/sasquash
Description: Embeddable React component for reporting bugs & auto-changelogs
Author: joshkrutz
Latest version: 1.2.1

# Sasquash

> Bug reporting and changelog fetching made simple — powered by GitHub Issues & Releases.

Sasquash lets you wire up GitHub bug reports and changelogs in seconds.
It's lightweight, framework-agnostic, and gives you full control over UI.

---

## 🚀 Features

- Report issues like bugs and enhancements via GitHub Issues
- Fetch changelogs from GitHub Releases
- No backend required — works with a GitHub token
- Bring your own UI, or use the optional `<SasquashReporter />` component

---

## 📦 Installation

```bash
pnpm add @joshkrutz/sasquash
```

---

## 🔧 Usage

### 1. Create a client

```ts
import { createSasquashClient } from '@joshkrutz/sasquash'

const client = createSasquashClient({
  token: 'ghp_***', // Use a GitHub PAT
  owner: 'repo-owner',
  repo: 'repo-name',
})
```

### 2. Test the repo connection

```ts
const canReachRepo = await client.testConnection()
console.log(`I can access the configured repo: ${canReachRepo}`)
```

### 3. Report an issue

```ts
await client.createIssue({
  title: 'Bug: something broke',
  body: 'Steps to reproduce:\n...',
  label: 'bug', // or 'enhancement'
})
```

### 4. Get all open (or closed) issues

```ts
const issues = await client.getIssues((state = 'open'))
console.log(`Number of open issues: ${issues.length}`)
```

### 5. Get changelog

```ts
const changelog = await client.getChangelog()
console.log(changelog)
```

---

## 🎨 Optional: Built-in UI component

```tsx
import { SasquashReporter } from '@joshkrutz/sasquash'
;<SasquashReporter
  onSubmit={(title, body) => client.createIssue({ title, body })}
  style={{ backgroundColor: '#fff' }}
/>
```

---

## 🛡 Security

- Tokens are never and should never be exposed by default — you control how/when the client is created
- Rate limiting and abuse detection are automatically handled via Octokit throttling

---

## 📖 API Reference

### `createSasquashClient(config)`

Config arguments:

| Option      | Type               | Description                                    |
| ----------- | ------------------ | ---------------------------------------------- |
| `token`     | string             | GitHub personal access token                   |
| `owner`     | string             | GitHub org or user name                        |
| `repo`      | string             | GitHub repo                                    |
| `doLogging` | boolean (optional) | Logs rate limits / errors. Defaults to `false` |

---

## 📄 License

MIT — © 2025 Josh Krutz