LibMan is a new open source tool by Microsoft for managing client-side libraries. It consists of a Visual Studio extension and a command-line tool. Both read information from a libman.jsonconfiguration file. A sample file looks like this:
{
"version": "1.0",
"defaultProvider": "cdnjs",
"libraries": [{
"library": "[email protected]",
"destination": "wwwroot/lib"
},
{
"library": "[email protected]",
"destination": "wwwroot/lib"
}]
}
As you can see from the preceding code snippet, in the file, we specify one or more libraries (in this case, jQuery and jQuery Validation Unobtrusive) in specific versions, and, for each, we tell the library where to install it (wwwroot/lib for both). From inside Visual Studio (for Windows only—Mac does not have support for LibMan), we even have code completion...