Skip to content

Function Reactor is a web-based tool designed to create, edit, save, and execute JavaScript functions dynamically. It provides a user-friendly interface for managing multiple functions and seeing their results in real-time.

Notifications You must be signed in to change notification settings

mustafazariwala/function-reactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Function Reactor

Function Reactor is a web-based tool designed to create, edit, save, and execute JavaScript functions dynamically. It provides a user-friendly interface for managing multiple functions and seeing their results in real-time.

Demo

https://mustafazariwala.github.io/function-reactor/

Features

  • Dynamic Function Management: Create, edit, and delete JavaScript functions on-the-fly.
  • Real-time Result Display: See the output of the function execution instantly.
  • Function Saving: Save created functions for future use.
  • Simple Interface: Easy-to-use interface with intuitive controls.

Usage

  1. Create New Function: Click on the "Create New" button to create a new JavaScript function. Give it a name and start coding in the editor.
  2. Edit Function: Click on an existing function name to edit its code in the editor.
  3. Save Function: After editing, click the "Save" button to save the changes made to the function.
  4. Delete Function: To delete a function, select it and click on the "Delete" button.
  5. Execution: As you type or edit the function's code, the result will be displayed in real-time in the "Result" section.

Installation

No installation is required. Function Reactor runs directly in your web browser.

Dependencies

  • Ace Editor: Used for code editing functionality.
  • Lodash: Utility library for JavaScript.
  • Moment.js: Library for parsing, validating, manipulating, and formatting dates and times.

Usage Example

// Included Script: lodash,moment 

// Function to initialize
function onInIt() {
  return '';
}
// Call the initialization function
onInIt();

Author

Mustafa Zariwala

Acknowledgments

Special thanks to the developers of Ace Editor, Lodash, and Moment.js for their incredible work.

About

Function Reactor is a web-based tool designed to create, edit, save, and execute JavaScript functions dynamically. It provides a user-friendly interface for managing multiple functions and seeing their results in real-time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published