Native App Automation using Javascript

Hi AllI have to automate Native App (iOS and Android) using javascript. i can record and generate script (node.js) on Appium.
can anyone please help me how i can configure JS in eclipse to automate Native App using Javascript.

Thanks,

Can u Share the Materails or Links to automate Mobile Native app with Java Script? its needed very much urgent