open-index/open-npm huggingface dataset:
npm package: @prom-cms/api-client
Description: An api client for prom cms sites
Author: Ondřej Langr
Latest version: 0.17.0-main.a3c44b5ae732d4f0eb6b4b5976f494fb50e24cb3

<center>
# PromCMS JS API Client

This is a javascript api client for your apps that use PROM CMS.
</center>

## Installation

```bash
npm install @prom-cms/api-client
```

## How to use

```ts
import { ApiClient } from "@prom-cms/api-client"

// Initialize 
const client = new ApiClient({
  // you can use custom axios config here
  ...
});

// You can now send requests
await client.auth.login({
  email: "email@example.com",
  password: "some_strong_password"
});

```
npm package: @prom-cms/cli
Description: PromCMS cli package
Author: Ondřej Langr
Latest version: 0.24.0-main.a3c44b5ae732d4f0eb6b4b5976f494fb50e24cb3

<center>
<h1><code>@prom-cms/cli</code></h1>

This is a cli package of PromCMS that makes things happen.
</center>

## 🍻 Commands

### `db`

TBD

### `users`

Manage users with the help of a CLI

#### `users change-password`

Let's you change password for selected user (by email)

##### 😎 Examples

`npx @prom-cms/cli user change-password`

#### `users create`

Let's you create new user with provided email, password and full name

##### 😎 Examples

`npx @prom-cms/cli user create`

#### `users delete`

Let's you delete user by email

##### 😎 Examples

`npx @prom-cms/cli user delete`

### `project`

Main command for managing your project

#### `project create`

Subcommand to create project

##### 🔯 Parameters

- `--cwd`/`-c`
    - **String** (default: current cwd), optional
    - Path to PromCMS project

#### 😎 Examples

- Generate normally in current directory: `npx @prom-cms/cli project create`

- Create in custom directory: `npx @prom-cms/cli generate-cms --cwd ../../directory`

#### `admin:update`

Subcommand to update your admin. It removes old version and generates the admin files anew.

##### 🔯 Parameters

- `--cwd`/`-c`
    - **String** (default: current cwd), optional
    - Path to PromCMS project

#### `database:migration:create`

Validates PromCMS config, applies configuration to Models

##### 🔯 Parameters

- `--cwd`/`-c`
    - **String** (default: current cwd), optional
    - Path to PromCMS project

#### `database:migration:apply`

Connects to database and applies

##### 🔯 Parameters

- `--cwd`/`-c`
    - **String** (default: current cwd), optional
    - Path to PromCMS project
npm package: @prom-cms/in-page-edit
Description: A PromCMS in page editor
Author: Ondřej Langr
Latest version: 0.2.4-main.a3c44b5ae732d4f0eb6b4b5976f494fb50e24cb3

<center>
# @prom-cms/in-page-editor

This editor is supposed to help you edit pages and settings in front instead of admin.
</center>

TBD
npm package: @prom-io/cli
Description: Prom listing CLI
Latest version: 1.0.9

# Prom CLI

![npm](https://img.shields.io/npm/v/@prom-io/cli)

Prom is the world's first all-in-one NFT gaming platform with a marketplace and other attractive options.

Prom CLI lists multiple NFTs on the marketplace.

![CLI screenshot](docs/screenshot.png)

### Usage

#### Using `npx`

```sh
npx @prom-io/cli@latest
```

##### Installing globally

```sh
npm i -g @prom-io/cli
prom-cli --version
```

```
Usage: prom-cli [options] [command]

Prom CLI allows to list multiple NFTs blazing fast

Options:
  -V, --version               output the version number
  -m --marketplace <address>  custom marketplace address
  --max-fee <price>           max fee per gas (max gas price non EIP-1559 compatible chains) in GWEI
  --max-priority-fee <price>  max priority fee per gas in GWEI
  --speed <speed>             tx speed (fastest, fast, medium, slow) (default: "medium")
  -r --rpc <url>              custom rpc
  -h, --help                  display help for command

Commands:
  delist
  cancel-txns                 cancel pending transactions up to nonce
  clear-cache
```

##### Listing NFTs

To list NFTs simply run next command and follow the instructions.

```
npx @prom-io/cli
```

##### Delisting NFTs

To delist NFTs simply run next command and follow the instructions.

```
npx @prom-io/cli delist
```

#### Troubleshooting

If you see message `Total NFTs to list: 0` however you're sure that there are NFTs to list run the following command

```
npx @prom-io/cli clear-cache
```

### Development

#### Install dependencies

```
npm install
```

#### Build

```
npm run build
```

#### Run

```
npm run start
```

#### Test

```
npm run test
```