Support for npm packages is available with Package Management in VSTS and TFS 2017 Update 1 and newer.
Install npm packages from your feed, and also from npmjs.com if you've configured upstream sources, using the npm client.
- Set up the npm client with your feed.
- Open a shell and navigate to the directory that contains your project's
- Install a package by running
npm install --save <package>.
See the npm CLI docs for more install options.