{"id":28076820,"url":"https://github.com/jaredhanson/deamdify","last_synced_at":"2025-05-13T01:52:57.470Z","repository":{"id":8836124,"uuid":"10539644","full_name":"jaredhanson/deamdify","owner":"jaredhanson","description":"Browserify transform that converts AMD to CommonJS.","archived":false,"fork":false,"pushed_at":"2021-03-30T17:13:18.000Z","size":116,"stargazers_count":197,"open_issues_count":17,"forks_count":30,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-13T01:52:52.880Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaredhanson.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":"2013-06-07T00:53:27.000Z","updated_at":"2024-11-25T05:47:36.000Z","dependencies_parsed_at":"2022-09-10T23:41:50.542Z","dependency_job_id":null,"html_url":"https://github.com/jaredhanson/deamdify","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fdeamdify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fdeamdify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fdeamdify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhanson%2Fdeamdify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredhanson","download_url":"https://codeload.github.com/jaredhanson/deamdify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856624,"owners_count":21974576,"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-05-13T01:52:56.860Z","updated_at":"2025-05-13T01:52:57.459Z","avatar_url":"https://github.com/jaredhanson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deAMDify\n\n[![Build Status](https://secure.travis-ci.org/jaredhanson/deamdify.png)](http://travis-ci.org/jaredhanson/deamdify) [![David DM](https://david-dm.org/jaredhanson/deamdify.png)](http://david-dm.org/jaredhanson/deamdify)\n\n\nThis module is a [browserify](http://browserify.org/) plugin that will transform\n[AMD](https://github.com/amdjs) modules into [Node.js](http://nodejs.org/)-style\nmodules so that they can be included in browser-ified bundles.\n\nWith this transform in place, Node and AMD modules can be freely intermixed, and\nthe resulting bundle can be used without the need for a separate loader such as\n[RequireJS](http://requirejs.org/).\n\n**For when you're stuck and need help:**\n\n[![Join the chat at https://gitter.im/jaredhanson/deamdify](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/jaredhanson/deamdify?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## Install\n\n```sh\n$ npm install deamdify\n```\n\n## Usage\n\n#### Command Line\n\nBundle up all required modules, including AMD modules, into a single file\nusing `browserify` with the `deamdify` transform.\n\n```sh\nbrowserify -t deamdify main.js -o bundle.js\n```\n\n#### API\n\n```javascript\nvar browserify = require('browserify');\nvar fs = require('fs');\n\nvar b = browserify('main.js');\nb.transform('deamdify');\n\nb.bundle().pipe(fs.createWriteStream('bundle.js'));\n```\n\n#### package.json\n\nFor packages that are written as AMD modules, add a browserify transform field\nto `package.json` and browserify will apply the transform to all modules in the\npackage as it builds a bundle.\n\n```\n{\n  \"name\": \"anchor\",\n  \"main\": \"main\",\n  \"browserify\": {\n    \"transform\": \"deamdify\"\n  }\n}\n```\n\n## Tests\n\n```sh\n$ npm install\n# fast run\n$ npm run test-main\n# test all browserify major versions\n$ npm test\n```\n\n## Credits\n\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2015 Jared Hanson \u003c[http://jaredhanson.net/](http://jaredhanson.net/)\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhanson%2Fdeamdify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredhanson%2Fdeamdify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhanson%2Fdeamdify/lists"}