New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vendee-keys

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vendee-keys

Methods of working with key pair

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Vendee keys

cover

Methods of working with key pair in Vendee scripts and tests

npm downloads

How to use

Read key pair from JSON file

import { readKeys } from 'vendee-keys'
// ...
const keys: KeyPair = readKeys('/home/user/keys/GiverV2.keys.json')

Generate random key pair if key file does not exist

import { generateOrReadKeys } from 'vendee-keys'
// ...
const keys: KeyPair = await generateOrReadKeys('/home/user/keys/GiverV3.keys.json')

Generate JSON file with random key pair in keys directory if key file does not exist

import { namedKeys } from 'vendee-keys'
// ...
const keys: KeyPair = await namedKeys('giver')

Development

Build

yarn build

Remove build directory

yarn clean

Lint

Run before commit

yarn lint
yarn fix

Keywords

Vendee

FAQs

Package last updated on 05 Jun 2023

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