diff --git a/README.md b/README.md
index 23b6208..bb13153 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,9 @@ or using Composer.
 3. Extract the ZIP you downloaded in step 1 inside of the
    `/libraries/jquery-validation` folder (i.e.: so that the `jquery.validate.js`
    file is at `/libraries/jquery-validation/dist/jquery.validate.js`).
+   If you are using the Libraries API module (https://www.drupal.org/project/libraries), the library can be placed in:
+     /sites/all/libraries
+     /sites/default/libraries or /sites/your-site.com/libraries
 
 ### To install the library using Composer:
 
diff --git a/clientside_validation_jquery/clientside_validation_jquery.install b/clientside_validation_jquery/clientside_validation_jquery.install
index 7afd1d4..3c49561 100644
--- a/clientside_validation_jquery/clientside_validation_jquery.install
+++ b/clientside_validation_jquery/clientside_validation_jquery.install
@@ -84,7 +84,16 @@ function clientside_validation_jquery_requirements($phase) {
       return $requirements;
     }
 
-    $library_exists = file_exists('libraries/jquery-validation/dist/jquery.validate.min.js');
+    $jquery_validation_path = 'libraries/jquery-validation';
+
+    if (\Drupal::moduleHandler()->moduleExists('libraries')) {
+      $library_path = libraries_get_path('jquery-validation');
+      if (!empty($library_path)) {
+        $jquery_validation_path = $library_path;
+      }
+    }
+
+    $library_exists = file_exists($jquery_validation_path . '/dist/jquery.validate.min.js');
 
     $requirements['clientside_validation_jquery_library'] = [
       'title' => t('Clientside Validation jQuery library'),
diff --git a/clientside_validation_jquery/clientside_validation_jquery.module b/clientside_validation_jquery/clientside_validation_jquery.module
index 77aafa1..9989cd2 100644
--- a/clientside_validation_jquery/clientside_validation_jquery.module
+++ b/clientside_validation_jquery/clientside_validation_jquery.module
@@ -61,13 +61,17 @@ function clientside_validation_jquery_library_info_alter(&$libraries, $extension
     $module_path = \Drupal::service('extension.list.module')->getPath('clientside_validation_jquery');
     $path_in_yml = '/libraries/jquery-validation/dist/';
 
+    if(\Drupal::moduleHandler()->moduleExists('libraries') && libraries_get_path('jquery-validation')){
+      $path_in_yml = libraries_get_path('jquery-validation') . '/dist/';
+    }
+
     // Load settings from config.
     $config = \Drupal::config('clientside_validation_jquery.settings');
 
     // Check for library or js in module only if use_cdn flag is set to false.
     if (empty($config->get('use_cdn'))) {
       // Based on updated readme instructions, check in libraries.
-      if (file_exists('libraries/jquery-validation/dist/jquery.validate.min.js')) {
+      if (file_exists($path_in_yml . 'jquery.validate.min.js')) {
         // We do nothing here if it is available in libraries.
         return;
       }
diff --git a/clientside_validation_jquery/src/Commands/ClientsideValidationJqueryDrush.php b/clientside_validation_jquery/src/Commands/ClientsideValidationJqueryDrush.php
index fa7af62..e4f1d8e 100644
--- a/clientside_validation_jquery/src/Commands/ClientsideValidationJqueryDrush.php
+++ b/clientside_validation_jquery/src/Commands/ClientsideValidationJqueryDrush.php
@@ -38,7 +38,16 @@ class ClientsideValidationJqueryDrush extends DrushCommands {
    * @aliases cvjls
    */
   public function libraryStatus() {
-    $installed = file_exists(DRUPAL_ROOT . '/libraries/jquery-validation/dist/jquery.validate.min.js');
+    $jquery_validation_path = 'libraries/jquery-validation';
+
+    if (\Drupal::moduleHandler()->moduleExists('libraries')) {
+      $library_path = libraries_get_path('jquery-validation');
+      if (!empty($library_path)) {
+        $jquery_validation_path = $library_path;
+      }
+    }
+
+    $installed = file_exists($jquery_validation_path . '/dist/jquery.validate.min.js');
     $message = $installed ? 'installed' : 'not installed';
     $this->logger()->notice('Library required for clientside validation jQuery is {message}', ['message' => $message]);
   }
@@ -69,7 +78,7 @@ class ClientsideValidationJqueryDrush extends DrushCommands {
     $return = $process->isSuccessful();
 
     if (!$return) {
-      throw new \Exception(dt('Unable to extract !filename.' . PHP_EOL . implode(PHP_EOL, (array) $process->getOutput()), ['!filename' => $path]));
+      throw new \Exception(dt('Unable to extract !filename.' . PHP_EOL . implode(PHP_EOL, $process->getOutput()), ['!filename' => $path]));
     }
 
     // Name it properly (remove version number from directory).
diff --git a/clientside_validation_jquery/src/Form/ClientsideValidationjQuerySettingsForm.php b/clientside_validation_jquery/src/Form/ClientsideValidationjQuerySettingsForm.php
index bec013a..edd7aa8 100644
--- a/clientside_validation_jquery/src/Form/ClientsideValidationjQuerySettingsForm.php
+++ b/clientside_validation_jquery/src/Form/ClientsideValidationjQuerySettingsForm.php
@@ -138,7 +138,16 @@ class ClientsideValidationjQuerySettingsForm extends ConfigFormBase {
 
     // Validate if library exists if use CDN is set to false.
     if (empty($values['use_cdn'])) {
-      $library_exists = file_exists('libraries/jquery-validation/dist/jquery.validate.min.js');
+      $jquery_validation_path = 'libraries/jquery-validation';
+
+      if (\Drupal::moduleHandler()->moduleExists('libraries')) {
+        $library_path = libraries_get_path('jquery-validation');
+        if (!empty($library_path)) {
+          $jquery_validation_path = $library_path;
+        }
+      }
+
+      $library_exists = file_exists($jquery_validation_path . '/dist/jquery.validate.min.js');
 
       if (empty($library_exists)) {
         $form_state->setErrorByName('use_cdn', $this->t('Please make sure JS is available in Drupal Libraries. Check README in module folder for more details.'));
