public function activate(Composer $composer, IOInterface $io)
    {
        // preload classes to prevent errors when removing the plugin
        class_exists(NpmBridge::class);
        class_exists(NpmBridgeFactory::class);
        class_exists(NpmClient::class);
        class_exists(NpmBridge::class);
        class_exists(NpmVendorFinder::class);
    }
public function activate(Composer $composer, IOInterface $io)
    {
        // preload classes to prevent errors when removing the plugin
        class_exists(NpmBridge::class);
        class_exists(NpmBridgeFactory::class);
        class_exists(NpmClient::class);
        class_exists(NpmBridge::class);
        class_exists(NpmVendorFinder::class);
    }
public function activate ( Composer $ composer , IOInterface $ io ) { // preload classes to prevent errors when removing the plugin class_exists ( NpmBridge :: class ) ; class_exists ( NpmBridgeFactory :: class ) ; class_exists ( NpmClient :: class ) ; class_exists ( NpmBridge :: class ) ; class_exists ( NpmVendorFinder :: class ) ; }
Activate the plugin.

@param Composer    $composer The main Composer object.
@param IOInterface $io       The i/o interface to use.
Activate the plugin .