Method 1: Install through NPM:
                            npm install popups --save
                        
                        Method 2: Download the CSS and JavaScript files.
Download ZIPInitialize the plugin by referencing the necessary files:
    
                        You can create a new popup window by calling:
    popupS.window({
    mode: 'alert',
    content: 'Hey'
});
Or by using the shorthand form:
    popupS.alert({
    content: 'Hello'
});
                        
   popupS.alert({
        content: 'Hello World!'
    });
                        
   popupS.confirm({
        content: 'Continue?',
        onSubmit: function() {
                popupS.alert({
                        content: 'Great!'
                });
        }
    });
                           popupS.prompt({
        content: 'What is your name?',
        onSubmit: function(val) {
                popupS.alert({
                        content: 'Hi, ' + val + '!'
                });
        }
    });
   popupS.modal({
            content: '
                    
                            
                            
                    
                    
                            
                            
                    
                    
                            
                            
                    
            '
    });
                        
   popupS.modal({
        onOpen: function() {
                React.render(
                        searchExample,
                        this.$contentEl
                );
        },
        onClose: function() {
                this.$layerEl.style.opacity = "0";
                React.unmountComponentAtNode(this.$contentEl);
        }
    });
                        