How to create NPM out of single XAML

Hi guys,

there are several ways to share parts of robots with other projects. One is to create NPM packages of different actions. How can i create NPM out of a XAML-file? Which additional software is needed? Is there a tutorial how to do this?