import { Router } from 'express';
import { getNpmSettings, saveNpmSettings } from '../storage/npm-settings-store.js';
const router = Router();
router.get('/', (_req, res) => {
    res.json(getNpmSettings());
});
router.put('/', (req, res) => {
    res.json(saveNpmSettings(req.body || {}));
});
export default router;
//# sourceMappingURL=npm-settings.js.map