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').Random
const something = require('some-random-cat').Random
.info
STATIC
The general information for the package.
PARAMETER
TYPE
DESCRIPTION
author
String
The author(s) of the package.
description
The description of the package.
repo
Object
Current repository(s) of the package.
version
The version of the package.
Type: ?Objectarrow-up-right
.test()
Random method to generate an advice.
Type
Description
any
Tests the package and retrieves an error(if any).
Returns: Promise<Pending>arrow-up-right``
Promise<Pending>
Last updated 5 years ago
Was this helpful?