Socket
Book a DemoInstallSign in
Socket

2pme

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2pme

A CLI tool to interact with the 2PeekMe API

latest
npmnpm
Version
1.0.2
Version published
Maintainers
0
Created
Source

2peekme CLI

A command-line interface tool for interacting with the 2PeekMe API. This CLI allows you to manage subdomains, DNS records, and your API key easily from your terminal.

More documentaiton can be found here: https://2peek.me

Installation

To install the 2peekme CLI globally, run the following command:

npm i -g 2pme

Usage

After installation, you can use the CLI with the following command:

2pme [command]

Commands

Here are some of the available commands:

  • key - Manage your API key.

    • Options:
      • --create - Generate a new API key.
      • --set <key> - Set your API key.
      • --info - Get information about your API key.
      • --delete - Delete your current API key.
  • create - Create a new subdomain.

    • Options:
      • --name <name> - Subdomain name.
      • --type <type> - DNS record type (A, CNAME, TXT, etc.).
      • --value <value> - Record value.
  • update - Update an existing subdomain.

    • Options:
      • --name <name> - Subdomain name.
      • --type <type> - New DNS record type.
      • --value <value> - New record value.
  • delete - Delete a subdomain.

    • Options:
      • --name <name> - Subdomain name.
  • list - List all subdomains.

License

This project is licensed under the GPL-3.0 License.

Keywords

CLI

FAQs

Package last updated on 26 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts