{"id":15458285,"url":"https://github.com/sammarks/neutrino-middleware-wrapper","last_synced_at":"2025-10-26T00:34:59.231Z","repository":{"id":57310447,"uuid":"141844041","full_name":"sammarks/neutrino-middleware-wrapper","owner":"sammarks","description":"Neutrino middleware for wrapping specific files in arbitrary code.","archived":false,"fork":false,"pushed_at":"2018-07-21T20:41:35.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T01:31:17.355Z","etag":null,"topics":["neutrino","neutrino-middleware","wrapper"],"latest_commit_sha":null,"homepage":null,"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/sammarks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-21T20:30:23.000Z","updated_at":"2018-07-21T21:24:57.000Z","dependencies_parsed_at":"2022-09-02T03:20:39.975Z","dependency_job_id":null,"html_url":"https://github.com/sammarks/neutrino-middleware-wrapper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fneutrino-middleware-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fneutrino-middleware-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fneutrino-middleware-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fneutrino-middleware-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sammarks","download_url":"https://codeload.github.com/sammarks/neutrino-middleware-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009091,"owners_count":20708908,"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":["neutrino","neutrino-middleware","wrapper"],"created_at":"2024-10-01T23:00:37.142Z","updated_at":"2025-10-26T00:34:54.180Z","avatar_url":"https://github.com/sammarks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![][header-image]\n\n[![CircleCI][circleci-image]][circleci-url]\n[![NPM version][npm-version]][npm-url]\n[![NPM downloads][npm-downloads]][npm-url]\n![License][license]\n![Issues][issues]\n\n`neutrino-middleware-wrapper` is a Neutrino Middleware for the [Webpack Wrapper Plugin.][wrapper-link]\n\n## Get Started\n\n```sh\nnpm install --save-dev neutrino-middleware-wrapper\n```\n\n```js\nmodule.exports = {\n  use: [\n    'neutrino-middleware-wrapper',\n    {\n      header: '(function() {',\n      footer: '})();'\n    }\n  ]\n}\n```\n\n## Features\n\n- Uses the [Webpack Wrapper Plugin][wrapper-link] to wrap output files with custom text or code.\n- Supports a `test` option to change the regex used to match output filenames.\n- Passes `header` and `footer` options directly to the plugin.\n\n[header-image]: https://raw.githubusercontent.com/sammarks/art/master/neutrino-middleware-wrapper/header.jpg\n[circleci-image]: https://img.shields.io/circleci/project/github/sammarks/neutrino-middleware-wrapper.svg\n[circleci-url]: https://circleci.com/gh/sammarks/neutrino-middleware-wrapper/tree/master\n[npm-version]: https://img.shields.io/npm/v/neutrino-middleware-wrapper.svg\n[npm-downloads]: https://img.shields.io/npm/dm/neutrino-middleware-wrapper.svg\n[npm-url]: https://www.npmjs.com/package/neutrino-middleware-wrapper\n[license]: https://img.shields.io/github/license/sammarks/neutrino-middleware-wrapper.svg\n[issues]: https://img.shields.io/github/issues/sammarks/neutrino-middleware-wrapper.svg\n\n[wrapper-link]: https://github.com/levp/wrapper-webpack-plugin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammarks%2Fneutrino-middleware-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsammarks%2Fneutrino-middleware-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammarks%2Fneutrino-middleware-wrapper/lists"}