open-index/open-npm huggingface dataset:
npm package: @kayteh/bento
Description: an experimental transport-agnostic RPC system based fully on node.js and protobuf.
Latest version: 0.2.2

# bento

an experimental transport-agnostic RPC system based fully on node.js and protobuf.

this is primarily used with another of my projects, https://github.com/kayteh/roleypoly

## goals

minimum goals for this project. none of these are requirements for your implementation, just what we test against.

- **transport targets**
  - [ ] server/client: NATS
  - [ ] server: http
  - [ ] client: isomorphic-fetch

- **wire format targets**
  - [x] JSON
  - [ ] ~~protobuf~~ (*code/transport complexity makes this not worth it*)

- **generation habits**
  - [ ] on-the-fly codegen for development (e.g. does it without asking)
  - [x] ahead-of-time codegen too
  - [x] *ts* & flow definitions

## developing

working with codegen is a little bumpy for my headspace, but regardless...

```
yarn
yarn test
```
npm package: @kaythinks/converterjs
Description: This package will be used to convert values from one unit to another
Author: Kay Odole
Latest version: 1.0.6

# converterjs

[![npm (scoped)](https://img.shields.io/npm/v/@kaythinks/converterjs.svg)](https://www.npmjs.com/package/@kaythinks/converterjs)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@kaythinks/sweetthings.svg)](https://www.npmjs.com/package/@kaythinks/sweetthings)

This package will be used to convert values from one unit to another.

Feel free to star or fork this repo on Github https://github.com/kaythinks/converterjs

## Install

```
$ npm install @kaythinks/converterjs
```

## Methods

```js
//This method is for converting a celsius value to a fahrenheit value
celsius2Fahrenheit(celsius);

//This method is for converting a fahrenheit value to a celsius value
fahrenheit2Celsius(fahrenheit);

//This method is for coverting a KILOMETRE value to a METREvalue
km2m(km);

//This method is for converting a METRE value to a KILOMETRE value
m2km(m);

//This method is for converting a METRES/SECONDS value to a KILOMETRE/HOURS value
ms2kmh(ms);

//This method is for converting a KILOMETRES/HOURS value to a METRES/SECONDS value
kmh2ms(kmh);

//This method is for converting a MILLIMETRES value to a METRE value
mm2m(mm);

//This method is for converting a METRE value to a MILLIMETRE value
m2mm(m);


NOTE : All methods expect input values to be of type Number
```   

## Usage

```js
const converterjs = require('@kaythinks/converterjs');

console.log(converterjs.celsius2Fahrenheit(11));
//51.8

```
npm package: @kaythinks/sweetthings
Description: This package will randomly generate a sweet thought to smoothen your day
Author: Kay Odole
Latest version: 2.0.0

# sweetthings

[![npm (scoped)](https://img.shields.io/npm/v/@kaythinks/sweetthings.svg)](https://www.npmjs.com/package/@kaythinks/sweetthings)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@kaythinks/sweetthings.svg)](https://www.npmjs.com/package/@kaythinks/sweetthings)

This package will randomly generate a sweet thought to smoothen your day .

## Install

```
$ npm install @kaythinks/sweetthings
```

## Usage

```js
const sweetthings = require('@kaythinks/sweetthings');

console.log(sweetthings());

```
npm package: @kaytwo/friendly-mimes
Description: Returns you friendly Human readable mime types
Author: Kiran Anto
Latest version: 2.0.1


# Friendly Mimes

Returns you friendly Human readable mime types

[![NPM](https://nodei.co/npm/friendly-mimes.png?mini=true)](https://npmjs.org/package/friendly-mimes)

### To Resolve Mime Type
Resolves Mime type (eg: text/csv, application/mp4 etc) of the mime to the specific mime. 
```javascript
import { resolveMime } from 'friendly-mimes'

const item = resolveMime('application/mp4') // { "mime": "application/mp4", "name": "MPEG4", "fileType": ".mp4" }

console.log(item.name) //MPEG4
```

### To Resolve File Type
Resolves File type (.mp4, .mp3 etc) of the mime to the specific mime. 

```javascript
import { resolveFileType } from 'friendly-mimes'

const item = resolveFileType('.csv') // {"mime": "text/csv", "name": "Comma-Separated Values",  "fileType": ".csv" }

console.log(item.mime) // text/csv
```


### To Resolve Name to mime types
Resolves name of the mime to array of related mimes. 
```javascript
import { resolveName } from 'friendly-mimes'

const mimes = resolveName('MPEG-4 Audio') // Array of Mime Types related

console.log(mimes[0].mime)
```

## Contribution
If you see any data that is missing or incorrect, please be free to raise a PR to correct the same.
npm package: @kaytwo/puppeteer-har
Description: Generate HAR file with Puppeteer
Author: auteon GmbH
Latest version: 0.0.1

# puppeteer-har

Generate HAR file with [puppeteer](https://github.com/GoogleChrome/puppeteer).

## Install

```
yarn add @auteon/puppeteer-har
```

## Usage

```es6
import puppeteer from "puppeteer"
import { captureNetwork } from "puppeteer-har"

const browser = await puppeteer.launch()
const page = await browser.newPage()

const getHar = await captureNetwork(page)

await page.goto("http://example.com")

const har = await getHar()
await browser.close()
```

## `captureNetwork(page[, options])`

Start capturing the network traffic of the given puppeteer page.

### Returns

`captureHar` returns a method that will stop capturing traffic and return a HAR file when called.

### `options`

#### `saveResponses`

Defaults to `false`.
If set the HAR file will also include the responses to network requests.

#### `captureMimeTypes`

Defaults to `['text/html', 'application/json']`.
When responses should be saved you can specify which response types to include through this array.