/ffg-framework/
The Multitude of Frameworks by FFGFlash
Authors
- FFGFlash
Frameworks
- /ffg-framework/discord.js/
- /ffg-framework/console.js/
- /ffg-framework/bitdata.js/
- /ffg-framework/event.js/
..
/discord.js/An expansion on the already existing Discord.JS library to make bots quicker and easier.
Contributors
- FFGFlash
Example
"use strict";const Discord = ;
..
/console.js/An expansion of the built-in JavaScript console
Contributors
- FFGFlash
Example
"use strict";const Console = ;const con = ; con;con;con; con; con;
Documentation
/** * @author FFGFlash * @version 1.0.0 * @since 1.0.0 */console = ; /** * Sends a Message to the Console. * @param message The Message to Send to the Console. * @return undefined. */Console;console; /** * Sends an Error Message to the Console. * @param message The Error Message to Send to the Console. * @return undefined. */Console;console; /** * Sends a Warning Message to the Console. * @param message The Warning Message to Send to the Console. * @return undefined. */Console;console; /** * Creates a New Console.Message Object. * @param message The Message. * @return Console.Message Instance. */Console;console; /** * An Array Containing All Messages Sent to the Console. * Local to the Console instance, or Global if Called Statically. */Consolelogs;consolelogs; /** * Message LOG Type. */ConsoleLOG; /** * Message ERROR Type. */ConsoleERROR; /** * Message WARN Type. */ConsoleWARN; /** * @author FFGFlash * @version 1.0.0 * @since 1.0.0 * @param console An Instance of Console or Console. * @param message The Message Which The Console.Message Object Represents. */message = console message; /** * Add to the Message. * @param message The Content to Mend to the Message. * @return Console.Message Instance. */message; /** * Appends Native NewLine Character. * @return Console.Message Instance. */message; /** * Sends the Message to the Console as a Message. * @return undefined. */message; /** * Sends the Message to the Console as an Error Message. * @return undefined. */message; /** * Sends the Message to the Console as a Warning Message. * @return undefined. */message;
..
/bitdata.js/The Bitdata Framework Allows for Easy Creation of Binary Options/Configs.
Contributors
- FFGFlash
Example
"use strict";const Bitdata = ; { super...arguments; } static { return OPTION_A : 0b1 OPTION_B : 0b10 OPTION_C : 0b100 ; } let example1 = ;let example2 = ;let example3 = ; example1;example2; console;console;console;
Documentation
/** * @author FFGFlash * @version 1.0.0 * @since 1.0.0 * @param FlagResolvable Either a String or Number Which can be Resolved to the Bitfield.FLAGS. */bitdata = ...flags; /** * The Number Representation of the Bitdata. */bitdatabitfield /** * Resolve the Bitfield to Binary. * @return The Bitfield as a Binary String. */bitdata; /** * Add a Flag to the Bitdata Instance. * @param flag A FlagResolvable Value. * @return The Bitdata Instance. */bitdata; /** * Remove a Flag from the Bitdata Instance. * @param flag A FlagResolvable Value. * @return The Bitdata Instance. */bitdata; /** * Check if the Bitdata Instance has a Flag. * @param flag A FlagResolvable Value. * @return A Boolean Whether or not it has the Flag. */bitdata; /** * The Bitfield Value of All Flags. */BitdataALL; /** * Resolve a FlagResolvable Value to a Number. * @param flag A FlagResolvable Value. * @return The Bitfield Value of a FlagResolvable. */Bitdata; /** * List of FlagResolvables */BitdataFLAGS;
..
/event.js/The Event Framework Allows for Easy Asynchronous on Emit Events.
Contributors
- FFGFlash
Example
"use strict";const EventHandler = ; let eventHandler = ; eventHandler; eventHandler;eventHandler;eventHandler;
Documentation
/** * @author FFGFlash * @version 1.0.0 * @since 1.0.0 */eventHandler = ; /** * Add a New Listener to the EventHandler Instance. * @param name The Name of the Event. * @param callback The Callback for said Event. * @return The EventHandler Instance. */eventHandler; /** * Emit an Event on the EventHandler Instance. * @param name The Name of the Event. * @param arguments The Arguments to be Parsed to the Event Callback. * @return undefined. */eventHandler; /** * A Complete List of all Events and Callbacks. */eventHandlerevents;