This will create a static file server, in the root of a package directory. So, if you're app contains some static files that you can load as an example, just append the path to the return value of this function.
NOTE: You MUST require() the package outside of this function for it to work. If your package doesn't load in a node.js environment, just require("<package-name>/package.json").