Util

The class for getting information on the package or testing it.

Properties

.info STATIC

The general information for the package.

PARAMETER

TYPE

DESCRIPTION

author

String

The author(s) of the package.

description

String

The description of the package.

repo

Object

Current repository(s) of the package.

version

String

The version of the package.

Methods

.test() STATIC

Random method to generate an advice.

Type

Description

any

Tests the package and retrieves an error(if any).

Examples:

const somethingRandom = require('some-random-cat').Util
somethingRandom.test()

Last updated

Was this helpful?