You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@devotis/openprovider

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devotis/openprovider

Openprovider api client

1.1.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

OpenProvider CLI and API for Node.js

Code Climate Dependencies Js Standard Style Version License

Forked from the archived repo https://github.com/timneutkens/openprovider-js . This fork adds CLI support through yarn/npm run scripts. See CLI Usage.

Setup

First install: yarn add @devotis/openprovider

Then in your app's package.json file add a op command in the scripts section.

{
  ...
  "scripts": {
    "op": "node ./node_modules/@devotis/openprovider/run"
  },
  ...
}

Finally add a .env file similar to .env.example and enter username, password and/or hash.

Usage

CLI Usage

yarn op searchDomainRequest --domainNamePattern %mydomain%

yarn op modifyDomainRequest --isPrivateWhoisEnabled 1 --domain.name mydomain --domain.extension com

This is following the pattern: yarn op <api command> --arg1 <arg1_value> --arg2 <arg2_value> --argn <argn_value>

For all available api commands, see: https://doc.openprovider.eu/index.php/Main_Page

Usage in code

Example request code here (examples/example.js)

FAQ

I get Error: Authentication/Authorization Failed (196)

Create a .env file similar to .env.example and enter username, password and/or hash.

Keywords

openprovider

FAQs

Package last updated on 27 Jan 2019

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