🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

pektin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

pektin

A client to facilitate the control of pektin dns servers

unpublished
latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

JavaScript / TypeScript

git.y.gy | GitLab | GitHub| NPM

Install

yarn add pektin
npm i pektin

Basic Use

Normaly you should NEVER store your credentials in a code file but use something like a .env file. Have a look at dotenv for Node.js.

import { ExtendedPektinApiClient } from "pektin";

const pc = new ExtendedPektinApiClient({
    username: "ui-j-6samfz_r1OTQ",
    password:
        "Bq9Wvf4_FeDtKNoxdFLJweZzYhKVnN4Ll9SiQniyBRQIu2c_1BIHqGihFr6KlQproTrMndkSA50aUQY_HS8VRJNWBdveGAeoWWwcGrECPBwgIygDbKUjeXHaGE2FOvXeWTmbHg",
    vaultEndpoint: "https://vault-pektin.pektin.xyz"
});

console.log(await pc.getDomains());

Keywords

pektin

FAQs

Package last updated on 05 Nov 2021

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