holidayextras/jsonapi-client

View on GitHub
lib/resourceCache.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createResourceCache has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function createResourceCache(options) {
  options = options || { };
  var resourceCache = {};

  resourceCache._cacheDuration = options.cacheDuration || 5000;
Severity: Minor
Found in lib/resourceCache.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status