Note
Only available for npm packages.
It is usually more convenient to use the copy command button than using the Download button.
To add the latest version of package to a project, click . The command displayed in the text box is copied to the clipboard. Paste the command into the command line on your terminal. Execute the command line to automatically add the latest version of the package to the package.json file.
When the version-level information is displayed, select a specific version and click to copy the command for the selected version to the clipboard. Continue as described above to add the version of the package to the package.json file.