Ggplot in plotly.js

i want to plot ggplot in plotly.js. can anybody tell me, under which category it falls and how can i make that

Have you tried ggplotly() in our R API library ?

Thanks @etienne. But i was searching for this in Js. I am already plotting almost all kind of plots using plotly.js.