{"library":"hadron-compile-cache","type":"library","category":null,"description":"Utility for caching compiled JavaScript modules (e.g., JSX) to speed up subsequent requires in Node.js environments. Version 4.4.0 is the stable release. It wraps `require.extensions` to intercept module compilation, caching results based on file path and modification time. Different from generic require-hook libraries because it integrates with Hadron's home directory settings and is optimized for MongoDB Compass usage. Release cadence is tied to Compass releases; updates are infrequent but breaking changes are possible with major version bumps.","language":"javascript","status":"active","version":"4.4.0","tags":["javascript","mongodb-js"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install hadron-compile-cache","imports":["const CompileCache = require('hadron-compile-cache');","CompileCache.setHomeDirectory(path);","CompileCache.resetHomeDir();","CompileCache.clearCache();"]},{"cmd":"yarn add hadron-compile-cache","imports":[]},{"cmd":"pnpm add hadron-compile-cache","imports":[]}],"homepage":"https://github.com/mongodb-js/compass","github":"https://github.com/mongodb-js/compass","docs":null,"changelog":null,"pypi":null,"npm":"hadron-compile-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}