A JavaScript array generator tool used to aid in writing lengthy arrays.
JSArray is for times when you need to create really long arrays and don't want to take 5 years writing it because of all the commas and quotes. It allows you to simply enter the array elements and customize the resulting array element style. When you are done you just copy the output.
Install section is in Progress...
JSArray is really simple to use. It doesn't have the prettiest GUI ever, but works in its intended way really well.
Pick an array element type with the drop down selector labeled "Element Type".
Next after picking an element type, enter your first element in the
text box above the "Element Type" selector and press Enter
on the
keyboard or the "Add Element" button in JSArray.
Once you have entered all of the elements that you want press the "Create []" button to generate the array with all of your elements in the output box.
After pressing "Create []" you can choose to wrap any quoted elements in
either single quotes ''
or double quotes ""
.
Once you decide on single or double quotes you can also choose to use either an array constructor or an array literal.
After you finish building your array change "<array name>" to the name you want.
Finally press the "Copy []" button to copy the array to the clipboard.
When you're done and if you need to make another array you can press the "Clear []" button to clear the array output. If you have unused elements in the Elements list or text in the element input text box press the "Clear All" button instead.
If you have any feature requests, suggestions or general questions you can reach me via any of the methods listed below in the Contacts section.
Do not submit an issue or pull request: A general rule of thumb is to never publicly report bugs or vulnerabilities because you might inadvertently reveal it to unethical people who may use it for bad. Instead, you can email me directly at: paulmccarthy676@gmail.com. I will deal with the issue privately and submit a patch as soon as possible.
Author: Paul M.
- Email: paulmccarthy676@gmail.com
- Github: https://github.com/happycod3r
- Linkedin: https://www.linkedin.com/in/paul-mccarthy-89165a269/
- Facebook: https://www.facebook.com/paulebeatz