6.5.0 â€ĸ Published 3 years ago

flytri v6.5.0

Weekly downloads
-
License
Unlicense
Repository
github
Last release
3 years ago

â„šī¸ || About

đŸ“Ĩ || Installation

To install FlyTri package you need:

Then you can open your application's terminal and type:

$ npm install flytri

📜 || Table of content

Functions:

  • delay() - Functions that creates timeout easily and fast.

  • passGen() - Function to create passwords made by letters and numbers randomly with specified length.

  • Wikipedia() - Function that allows users to search wikipedia and return results for a query.

|| Functions:

delay

Sleep is a simple function, where is make it easier and faster to make a timeout in your code.

Example:

// Defining the package
const flytri = require("flytri");

// Getting the sleep function from the package
const sleep = flytri.sleep;

// this will log "Start!" once i run the application
console.log("Start!");

// using the package sleep function to set a timeout
sleep(5000); // sleep(milliseconds)

// after the 5 seconds (5000 milliseconds) it will log "5 Seconds passed"
console.log("5 Seconds passed");

sleep(ms: Number)

passGen

this is a simple function that can generate passwords using letters and numbers and the password length is custom so you can change it to any length you want!

Example:

// Defining the package
const flytri = require("flytri");

// getting the passGen function from the package
const passGen = flytri.passGen;

// passGen(6) that mean it will generate a password from 6 characters.
console.log(passGen(6));

passGen(Length: Number)

wikipedia

A simple function to allow you to fetch a topic from wikipedia

Example

// defining the package
const flytri = require('flytri')

// we will be searching earth
let  query = 'earth'

// we will searching with English language
let language = 'en'

// Inistigating the wikipedia class
const res = new flytri.Wikipedia({
	// You choose either message or interaction, not both
	message:  message, // The message
	color:  "RED", // Color of embed that will be sent
	query:  query  // what the search query is
  language: language // language
})

res.fetch() // fetching the result from wikipedia

❓ || Contact us

In case you have idea's to improve the package, or maybe you found some bugs or you need help, you can contact us from our discord server!

6.5.0

3 years ago

6.4.9

3 years ago

6.4.8

3 years ago

6.4.7

3 years ago

6.4.6

3 years ago

6.4.5

3 years ago

6.4.4

3 years ago

6.4.3

3 years ago

6.4.2

3 years ago

6.4.1

3 years ago

6.4.0

3 years ago

6.3.9

3 years ago

6.3.8

3 years ago

6.3.7

3 years ago

6.3.6

3 years ago

6.3.5

3 years ago

6.3.4

3 years ago

6.3.3

3 years ago

6.3.2

3 years ago

6.3.1

3 years ago

6.3.0

3 years ago

6.2.9

3 years ago

6.2.8

3 years ago

6.2.7

3 years ago

6.2.6

3 years ago

6.2.5

3 years ago

6.2.4

3 years ago

6.2.3

3 years ago

6.2.2

3 years ago

6.2.1

3 years ago

6.2.0

3 years ago

6.1.9

3 years ago

6.1.8

3 years ago

6.1.7

3 years ago

6.1.6

3 years ago

6.1.5

3 years ago

6.1.4

3 years ago

6.1.3

3 years ago

6.0.9

3 years ago

6.0.5

3 years ago

6.0.3

3 years ago

6.0.2

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

5.0.9

3 years ago

5.0.8

3 years ago

5.0.7

3 years ago

5.0.5

3 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago