{"id":15415845,"url":"https://github.com/davidje13/neutrino-patch","last_synced_at":"2026-05-08T11:04:13.393Z","repository":{"id":65424441,"uuid":"195529458","full_name":"davidje13/neutrino-patch","owner":"davidje13","description":"Adds simple methods to Neutrino to make managing configuration easier.","archived":false,"fork":false,"pushed_at":"2020-08-29T21:56:19.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-08T14:02:52.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidje13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-06T10:59:03.000Z","updated_at":"2020-12-18T19:38:07.000Z","dependencies_parsed_at":"2023-01-23T01:45:27.734Z","dependency_job_id":null,"html_url":"https://github.com/davidje13/neutrino-patch","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidje13%2Fneutrino-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidje13%2Fneutrino-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidje13%2Fneutrino-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidje13%2Fneutrino-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidje13","download_url":"https://codeload.github.com/davidje13/neutrino-patch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244618448,"owners_count":20482319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T17:10:01.402Z","updated_at":"2026-05-08T11:04:08.340Z","avatar_url":"https://github.com/davidje13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neutrino Patch\n\nAdds simple methods to Neutrino to make managing configuration easier.\n\n## Install dependency\n\n```bash\nnpm install --save neutrino-patch\n```\n\n## Usage\n\n```javascript\nconst applyNeutrinoPatches = require('neutrino-patch');\n\nconst myMiddleware = () =\u003e (neutrino) =\u003e {\n  applyNeutrinoPatches(neutrino);\n\n  // adds extensions 'abc' and 'xyz' at end of list (lowest priority)\n  neutrino.addSupportedExtensions('abc', 'xyz');\n\n  // adds extensions 'yay' and 'woo' immediately before 'js' (higher priority)\n  // (or at end of list if 'js' is not found)\n  neutrino.addSupportedExtensionsBefore('js', 'yay', 'woo');\n\n  // add a preset to the babel compile stage\n  // (whether it has already been defined or not)\n  neutrino.tapAtEnd('compile', 'babel', (options) =\u003e {\n    options.presets.push(['@babel/some-preset-here', {}]);\n    return options;\n  });\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidje13%2Fneutrino-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidje13%2Fneutrino-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidje13%2Fneutrino-patch/lists"}