{"library":"sequelize-simple-cache","type":"library","category":null,"description":"A transparent, client-side, in-memory caching layer for Sequelize ORM, version 1.3.5. Cache invalidation is time-to-live (TTL) based. Ideal for infrequently updated, frequently read tables with few rows (e.g., configuration data). Works with Sequelize versions 4 and up (tested with 5 and 6), Node >=12, and all Sequelize-supported databases. Differentiates itself by being lightweight and transparent—no API changes required; simply wrap your models. Not suitable for high-write or high-volume scenarios where Redis or Memcached would be better.","language":"javascript","status":"active","version":"1.3.5","tags":["javascript","Sequelize","transparent","cache","client-side","in-memory","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install sequelize-simple-cache","imports":["import SequelizeSimpleCache from 'sequelize-simple-cache';","const cachedUser = cache.init(modelDefiner(sequelize));","const cache = new SequelizeSimpleCache({ User: { ttl: 300 } });","class User extends Model {}; module.exports = (sequelize) => User.init({ ... }, { sequelize });"]},{"cmd":"yarn add sequelize-simple-cache","imports":[]},{"cmd":"pnpm add sequelize-simple-cache","imports":[]}],"homepage":"https://github.com/funny-bytes/sequelize-simple-cache#readme","github":"git://github.com/funny-bytes/sequelize-simple-cache","docs":null,"changelog":null,"pypi":null,"npm":"sequelize-simple-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}