New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@iov/certificate-parser

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iov/certificate-parser

Allows to easily parse and use certificates supported by Starname blockchain.

Source
npmnpm
Version
1.1.3
Version published
Weekly downloads
4
-63.64%
Maintainers
3
Weekly downloads
 
Created
Source

@iov/certificate-parser

Allows to easily parse and use certificates supported by Starname blockchain.

Installation

yarn add @iov/certificate-parser

Usage

import { CertificateParser } from "certificate-parser";

// this throws on invalid certificate
const parsedCertificate = new CertificateParser("stringifiedJSONCertificate");
parsedCertificate.getStarnameInfo();

// Output
{
    starname: "*starname",
    address: "staraddress..."
}

FAQs

Package last updated on 13 Jul 2022

Related posts