Util

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

Please make sure you do not instantiate this class. You can access it though const something = require('some-random-cat').Util

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.

Type: ?Object

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