🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@megaswords/cache-manager-module

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@megaswords/cache-manager-module

Add a cache Manager module to the XMS

latest
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

Cache Manager module

Add a cache Manager module to the XMS

Setup

Install the module

yarn add @megaswords/cache-manager-module

Load the module into the core

// config/core.config.js

export default {
  modules: [
    require('@megaswords/cache-manager-module'),
  ],
};

Configuration

Create new file config/modules/cachemanager/index.js

export { default as loadCacheManager } from '@megaswords/cache-manager-module';

export default {
  userRights: {
    1: 'read',
  },
  disablePermissions: false,
  id: 'cache',
  idSingular: 'cache',
  itemLocales: 'i18n',
  menu: {
    title: 'cachemanager.title',
    icon: 'save',
  },
};


FAQs

Package last updated on 16 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts