{"library":"require-without-cache","type":"library","category":null,"description":"A tiny utility to require Node.js modules while bypassing the module cache. Current stable version is 0.0.6 (released 2015, no updates since). It accepts a file path and the require function reference, then temporarily deletes the module from require.cache before loading, ensuring a fresh copy. Intended primarily for testing scenarios where stubbing or mocking modules requires uncached imports. Unlike other solutions that require explicit cache deletion, this wraps the require call to do it automatically.","language":"javascript","status":"maintenance","version":"0.0.6","tags":["javascript","require","cache","stub"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install require-without-cache","imports":["import requireWithoutCache from 'require-without-cache'","const requireWithoutCache = require('require-without-cache')","import requireWithoutCache from 'require-without-cache'"]},{"cmd":"yarn add require-without-cache","imports":[]},{"cmd":"pnpm add require-without-cache","imports":[]}],"homepage":"https://github.com/nazomikan/require-without-cache","github":"https://github.com/nazomikan/require-without-cache","docs":null,"changelog":null,"pypi":null,"npm":"require-without-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}