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

7key-gen

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

7key-gen

## Installation

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
13
-7.14%
Maintainers
0
Weekly downloads
 
Created
Source

License verifier

Installation

npm i 7key-gen

// or generate key

npx 7key-gen

Usage

import * as verifier from '7key-gen';

async function bootstrap() {
  /// Add your code below
  await verifier.verify();

  ...
}

verify(): Promise<VerifiedResponse>

Look for a file named license.lic at root of your project. It validates the license found in that file and return VerifiedResponse and key.yml file if license is valid, otherwise throw error

getLicenseKey(): Promise<{key: string, filePaths: string[]}>

Return license key based on device information. It returns a promise that resolves with an object containing

  • key: The generated license key
  • filePaths: The paths of files from which device information was gathered

FAQs

Package last updated on 12 Mar 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