open-index/open-npm huggingface dataset:
npm package: @kenyog/rtf-to-quill-delta
Description: converter from rtf file to quill delta format.
Author: kenyog
Latest version: 0.2.0

rtf-to-quill-delta
==================

This is a Node.js module for converting rtf file into quill delta format.


## Requirement

This modules depends on following modules.

* [@kenyog/rtf-parser](https://github.com/kenyog/rtf-parser)
* [quill-delta](https://quilljs.com/docs/delta/)

## Usage

sample program
```JavaScript
const RtfToDeltaConverter = require('@kenyog/rtf-to-quill-delta');
async function main() {
  let rtf = await readFile('test.rtf', {encoding: 'ascii'});
  let converter = new RtfToDeltaConverter();
  let delta = await converter.convert(rtf);
  console.log(JSON.stringify(delta, null, 2));
}
```

Output
```json
{
  "ops": [
    {
      "insert": "ai",
      "attributes": {
        "size": "8px",
        "color": "#000000"
      }
    },
    {
      "insert": "ueoaiu",
      "attributes": {
        "bold": true,
        "size": "10.6px",
        "color": "#000000"
      }
    },
    {
      "insert": "eo",
      "attributes": {
        "bold": false,
        "size": "8px",
        "color": "#000000"
      }
    },
    {
      "insert": "\n"
    }
  ]
}
```

## Install

```
npm install @kenyog/rtf-to-quill-delta
```

## Licence

MIT

## Author

[kenyog](https://github.com/kenyog)
npm package: @kenystev/local-https-server
Description: It runs a local https server with authorized certs
Author: Kevin J. Estevez
Latest version: 0.0.3

# local-https-server

local-https-server is a CLI tool to provide an easy way to run a local HTTPS server with their valid certifications and port-forward the trafic to another server running locally.

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install local-https-server.

```bash
npm install --save-dev @kenystev/local-https-server
```

## Usage

```bash
# run the server with default ports and auto-generated certs
local-https-server start

# override the default port to HTTPS server
local-https-server start -p 3005

# override the default forwarding port
local-https-server start -pp 3005

# override the default certs' key to provide some custom key
local-https-server start -k "<path/to/file>"

# override the default certs key to provide some custom certs
local-https-server start -c "<path/to/file>"
```

**Note** Make sure to add the `.certs` directory to your `.gitignore` file in order to not expose your cerdentials

## Utility commands

by default after installation, local-https-server automatically runs the pre-required commands to install deps and setup the certs, but if anything happens or accidentally you have deleted the `.certs` directory created after installation then you can run independently the right commands:

```bash
# Install needed dependencies to generate the certifications
local-https-server install-deps

# Generate the valid certifications to run HTTPS server and put them in .certs directory
local-https-server setup-certs
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @kenyucode/eslint-config
Description: ESLint configuration used by KenyuCode
Author: KenyuCOde
Latest version: 1.0.0

# KenyuCode ESLint config

## Whats included?
- Standard config base;
- Prettier;

## Setup
### Node.js

Install dependencies:
```
npm i -D eslint @kenyucode/eslint-config
```
Inside `.eslintrc.json`
```
{
  "extends": "@kenyucode/eslint-config/node"
}
```
npm package: @kenzable/dyno-item-size
Description: compute the size of an item the same way dynamodb does
Author: Matthew Chase Whittemore
Latest version: 0.4.1

# Dyno Item Size

This is a simple utility to calculate the size of an item as [DynamoDB](https://aws.amazon.com/documentation/dynamodb/) would. The goal of this project is to be accurate within a byte so that you can make optimized requests to DynamoDB.

## Usage

```
var dynoItemSize = require('dyno-item-size');
var item = {
  'string': 'string',
  'number': 27,
  'buffer': new Buffer('buffer', 'utf8')
};
var size = dynoItemSize(item);
console.log(size);
// => 31
```

## API

`dynoItemSize` comes with a two helper functions to translate the size of an object into it's read or write capacity cost.

### `dynoItemSize(object)`

Takes an object like the one shown in usage and returns the size in bytes.

### `dynoItemSize.read(object)`

Takes an object like the one shown in usage and returns the read capacity cost.

### `dynoItemSize.write(object)`

Takes an object like the one shown in usage and returns the write capacity cost.

## Resources

This module has been implemented by reading a few resources.

- [Item Size in DdynamoDB from stack overflow](http://stackoverflow.com/questions/8988389/itemsize-in-dynamodb)
- [Provision Throughput from the AWS DynamoDB docs](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ProvisionedThroughput.html)