open-index/open-npm huggingface dataset:
npm package: @pbteja-dev/ui.account-info
Description: > TODO: description
Author: Bhanu Teja
Latest version: 1.0.0-alpha.0

# `@pbteja-dev/ui.account-info`

> TODO: description

## Usage

```
const uiAccountInfo = require('@pbteja-dev/ui.account-info');

// TODO: DEMONSTRATE API
```
npm package: @pbteja-dev/ui.img
Description: Img react component
Author: Bhanu Teja
Latest version: 1.0.0-alpha.3

# `@pbteja-dev/ui.img`

## Usage

```bash
# Install with npm 
$ npm i @pbteja-dev/ui.img
```

```jsx
import Img from '@pbteja-dev/ui.img'

<Img src="https://via.placeholder.com/350x150" alt="sample image"/>
```
npm package: @pbts/cli
Description: cli for pb-to-typescript
Author: weiping.xiang
Latest version: 1.1.0

# `pbts-cli`

It is the cli for pbts. You can convert pb to ts file by command line

## Usage

step 1 Install @pbts/cli

```shell
npm i @pbts/cli
```

step 2 Convert your protobuffer to Typescript Definition File

```shell
pbts convert -i input/app/order.proto -o output/order.ts
```
npm package: @pbts/core
Description: pbts core
Author: weiping.xiang
Latest version: 3.0.1

# pbts

[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/@pbts/core.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@pbts/core
[download-image]: https://img.shields.io/npm/dm/@pbts/core.svg?style=flat-square
[download-url]: https://www.npmjs.com/package/@pbts/core


The core repo to convert protobuffer to typescript definition file.

## Usage

```javascript
import { parseProto } from '@pbts/core';

const source = `
syntax = "proto3";
message MyRequest {
  string path = 1;
}
`;

const ts = parseProto(source);
```

The result is as follow.

```typescript
interface MyRequest {
  path: string;
}
```

## Parameter

### Case 1 Typescript Definition File (.d.ts)

Default is false.

```javascript
const ts = parseProto(source, {isDefinition: true});
```

### Case 2 Request and Response Parameter (Optional)

Default is false.

```javascript
const ts = parseProto(source, {isParamOptional: true});
```