Skip to content

Latest commit

 

History

History
81 lines (56 loc) · 3.49 KB

README.md

File metadata and controls

81 lines (56 loc) · 3.49 KB

Microsoft Library Manager

Install and consume 3rd-party client-side libraries with ease.

Build Status

Reasons to use LibMan

  1. For apps not currently using another package manager
  2. For projects where you think Bower and npm are overkill
  3. For developers that don't want to use Bower/Yarn or npm
  4. For developers that value simplicity in their tools
  5. For using custom or private packages/files
  6. For orchestrating file placement within your project

Reasons NOT to use LibMan

  1. Developer/team likes using tools such Bower, Yarn or npm
  2. For apps that uses WebPack or Browserify for module loading/bundling

Features

  • Add any library from cdnjs.com, jsdelivr.com, or unpkg.com
  • Add any file from file system, network share or remote URL
  • Only add the file(s) you need
  • Can install any file into any folder in your project/solution
  • Very fast

Installation

  • Fully integrated into Visual Studio 2017 and newer

  • Available as an add-in for Visual Studio for Mac

    • From the main menu, open the Extensions Manager dialog.
    • Select the Gallery tab.
    • Expand IDE extensions.
    • Select the Library Manager addin
    • Click the Refresh button if the addin is not visible.
    • Click Install… to install the addin.
    • Restart Visual Studio for Mac.

    Please read the LibMan support in Visual Studio for Mac blog post for more details

  • Available as a dotnet global tool - Microsoft.Web.LibraryManager.Cli

Getting started

Right-click any web project in Solution Explorer and hit Manage Client-side Libraries....

Context menu

This will create a libman.json file in the root of the project.

libman.json

Context menu

Right-click libman.json in Solution Explorer to access commands that help managing the libraries.

context menu libman.json

Intellisense

Edit the libman.json file to install libraries. Every time the file is saved, Visual Studio will install/restore the packages.

libman.json

See libman.json reference for more information.

Light bulbs

Inside libman.json there are light bulbs that show up with helpful commands.

Light bulbs

Telemetry

The Visual Studio experience for Library Manager follows all of the settings for telemetry from Visual Studio.

Road map and release notes

See the CHANGELOG for road map and release notes

Feedback

Check out the contributing page to see the best places to log issues and start discussions.

Reporting Security Issues

Please refer to SECURITY.md

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.