{"id":19436539,"url":"https://github.com/beached/browserify-express","last_synced_at":"2025-10-15T14:19:42.379Z","repository":{"id":149955254,"uuid":"76156679","full_name":"beached/browserify-express","owner":"beached","description":"Mirror of repo originally at https://github.com/dstrek/node-browserify-express","archived":false,"fork":false,"pushed_at":"2016-12-13T16:00:32.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T21:12:55.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beached.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-11T05:42:58.000Z","updated_at":"2016-12-11T05:45:38.000Z","dependencies_parsed_at":"2023-05-05T06:19:56.239Z","dependency_job_id":null,"html_url":"https://github.com/beached/browserify-express","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fbrowserify-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fbrowserify-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fbrowserify-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fbrowserify-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beached","download_url":"https://codeload.github.com/beached/browserify-express/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240619430,"owners_count":19830204,"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-11-10T15:11:40.805Z","updated_at":"2025-10-15T14:19:37.343Z","avatar_url":"https://github.com/beached.png","language":"JavaScript","readme":"## browserify v2 middleware for express \n\nCode originally from https://github.com/dstrek/node-browserify-express \n\nBasically just brings back the features that were originally in browserify v1\n\nThis is how you use it in an Express project.\n\n```javascript\nvar browserify_express = require('browserify-express');\nvar bundle = browserify_express({\n\tentry: __dirname + '/app/js/entry.js',\n\twatch: __dirname + '/app/js/',\n\tmount: '/js/myapp.js',\n\tverbose: true,\n\tminify: true,\n\tbundle_opts: { debug: true } // enable inline sourcemap on js files \n\twrite_file: __dirname + '/public/js/myapp.js',\n\tignore: ['optional.js'] // optional array of files to ignore\n});\n\napp.use(bundle);\n```\n\nIn this example: \n\n* watch for changes to files in the directory defined in `watch`, this can also just watch a single file. \n* make the bundle accessible at '/js/myapp.js'\n* minify the bundle using uglify-js2\n* print messages to the console to show re-bundling and times\n* pass opts.debug to browserify.bundle\n* pass recursive:false to node-watch (see all options for [node-watch](https://npmjs.org/package/node-watch))\n* write the file to disk at the specified path\n\n### using coffee-script\n\nThis is supported by default however all your require()'s must include the .coffee extensions, it will not pick it up by default.\n\n\ne.g. require('../views/pop.coffee')\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeached%2Fbrowserify-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeached%2Fbrowserify-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeached%2Fbrowserify-express/lists"}