Publish an npm package
Support for npm packages is available with Package Management in VSTS and TFS 2017 Update 1 and newer.
Publish npm packages to a feed in Package Management to share them with your team and your organization.
Open a shell and navigate to the directory that contains your package's package.json file. If you don't have a package.json file, run
npm init(see the npm CLI docs).
Push your package by running
See the npm CLI docs for more publish options.