1.2.0 • Published 3 years ago

pizza-clients v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

This package can be used for organizing any type of client and will show information about them, helping you organize them(if you have multiple)

npm install pizza-clients

How to use:

const Clients = require('pizza-clients'); //importing the package
const client = new Clients.Client
(
  {
    name: 'Some name',
    purpose: 'Discord Bot',
    keywords: ['some keyword', 'some keyword 2', 'etc.'],
    description; 'Some description',
    version: 1.0,
    otherInfo: 'Some other information'
  }
) //creating a new client organizer
console.log(client)
/*
returns:
Client {
  name: 'Some name',
  purpose: 'This client is used for: Discord Bot',
  version: 1,
  description: 'Some description',
  keywords: '- some keyword, - some keyword 2, - etc.',
  otherInfo: 'Some other information'
}
*/

Methods:

getInfo - Returns a short paragraph containing each value and describing the client.

Parameters - None

missingProp - Returns an array containing all properties of a client that are set to their default values(you did not change them or invalid params were provided)

Parameters - None

Example: Example Client

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.6

3 years ago

1.0.8

3 years ago

1.0.9

3 years ago

1.0.7

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago