{"id":28398390,"url":"https://github.com/primus/deumdify","last_synced_at":"2025-07-10T01:35:43.253Z","repository":{"id":22733526,"uuid":"26078503","full_name":"primus/deumdify","owner":"primus","description":"Browserify plugin to expose a standalone bundle as a property of the global object.","archived":false,"fork":false,"pushed_at":"2023-01-02T20:30:01.000Z","size":49,"stargazers_count":15,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-01T13:16:00.607Z","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/primus.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":"2014-11-02T11:21:48.000Z","updated_at":"2023-01-07T11:56:11.000Z","dependencies_parsed_at":"2023-01-11T21:44:48.635Z","dependency_job_id":null,"html_url":"https://github.com/primus/deumdify","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/primus/deumdify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primus%2Fdeumdify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primus%2Fdeumdify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primus%2Fdeumdify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primus%2Fdeumdify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primus","download_url":"https://codeload.github.com/primus/deumdify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primus%2Fdeumdify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262444797,"owners_count":23312230,"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":"2025-06-01T04:38:35.636Z","updated_at":"2025-07-10T01:35:43.240Z","avatar_url":"https://github.com/primus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deUMDify\n\n[![Version npm](http://img.shields.io/npm/v/deumdify.svg?style=flat-square)](https://www.npmjs.com/package/deumdify)[![CI](https://img.shields.io/github/actions/workflow/status/primus/deumdify/ci.yml?branch=master\u0026label=CI\u0026style=flat-square)](https://github.com/primus/deumdify/actions?query=workflow%3ACI+branch%3Amaster)[![Coverage Status](http://img.shields.io/coveralls/primus/deumdify/master.svg?style=flat-square)](https://coveralls.io/r/primus/deumdify?branch=master)\n\nThis module is a [Browserify](http://browserify.org/) plugin that will expose a\nstandalone bundle as a property of the global object omitting AMD and CommonJS\nsupport. The reason for this plugin is that Browserify does not give the ability\nto generate a standalone bundle without a UMD wrapper.\n\n## Install\n\n```\nnpm install --save deumdify\n```\n\n## Usage\n\n### Command Line\n\n```sh\nbrowserify main.js -s Foo -p deumdify \u003e bundle.js\n```\n\n### API\n\nRegister the [plugin](https://github.com/substack/node-browserify#bpluginplugin-opts).\n\n```js\n'use strict';\n\nvar browserify = require('browserify')\n  , deumdify = require('deumdify')\n  , fs = require('fs');\n\nvar b = browserify({ entries: [ 'main.js' ], standalone: 'Foo' });\nb.plugin(deumdify);\n\nb.bundle().pipe(fs.createWriteStream('bundle.js'));\n```\n\nAnd that's it.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimus%2Fdeumdify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimus%2Fdeumdify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimus%2Fdeumdify/lists"}