{"id":13804520,"url":"https://github.com/unscriptable/beck","last_synced_at":"2025-04-12T17:26:31.665Z","repository":{"id":9349978,"uuid":"11201012","full_name":"unscriptable/beck","owner":"unscriptable","description":"beck is obsolete. check out RaveJS: https://github.com/RaveJS/rave","archived":false,"fork":false,"pushed_at":"2013-12-17T22:00:48.000Z","size":264,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T22:15:49.518Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unscriptable.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2013-07-05T14:10:11.000Z","updated_at":"2014-09-01T14:26:36.000Z","dependencies_parsed_at":"2022-08-29T02:31:46.778Z","dependency_job_id":null,"html_url":"https://github.com/unscriptable/beck","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/unscriptable%2Fbeck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unscriptable%2Fbeck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unscriptable%2Fbeck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unscriptable%2Fbeck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unscriptable","download_url":"https://codeload.github.com/unscriptable/beck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519555,"owners_count":21117761,"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-08-04T01:00:49.287Z","updated_at":"2025-04-12T17:26:31.627Z","avatar_url":"https://github.com/unscriptable.png","language":"JavaScript","funding_links":[],"categories":["Module Loaders"],"sub_categories":["Brunch Plugins"],"readme":"# beck.js\n\n# This is a work in progress\n\nbeck.js is a toolkit for building ES6 Module Loader pipelines as well as an ES6\nModule Loader shim for legacy environments.\n\nThe shim deviates from the spec in various ways.  It does this when the\nspec seems to do strange things or makes it really difficult to do\ncommon things -- things we've been doing with javascript modules since 2007.\n\n# This isn't ready for use, yet.\n\nThis project probably isn't ready for you to try out, yet.  It only\nunderstands CommonJS modules that have not been concatenated using some\nsort of transport format (browsers) and has onlly been rudimentally tested\nin modern browsers, node.js, and RingoJS.\n\nStay tuned for further updates.\n\n## Loader behavior\n\n* Sense if environment has an ES6 loader already\n\t* If not, stub one asap\n* Await first require/request or config() call\n\t* If config()\n\t\t* Ensure amd, cjs, or es6 shims are properly installed\n\t\t* If main, loader.load(main)\n\t* If require() or data-beck-run\n\t\t* If no config has been set for this module, sniff for package.json at\n\t\t  every folder in path to module, starting at deepest and ending at\n\t\t  document's folder (also: bower.json and beck.json)\n\t\t* Ensure amd, cjs, or es6 shims are properly installed\n\t\t* System.load(module)\n* Config could also be supplied in an HTML data-* attr\n\n## Open questions\n\n* How does beck wait for first require/request or config() call in node/ringo?\n\t* ENV var?\n\t* System.load/import\n\n## Differences from ModuleLoader/es6-module-loader / ES6 Spec\n\n* Do scripts get normalized or resolved?\n\t* beck: maybe normalization isn't necessary, but resolving seems useful!\n\t* ModuleLoader: they don't get normalized or resolved\n\t* ES6 spec: hard to follow code, but it seems similar\n* Should all pipeline steps be async?\n\t* beck: yes!\n\t* ModuleLoader: just fetch\n\t* ES6 spec: just fetch\n* Pass options to import, load, eval, and evalAsync\n\t* beck: creates options internally\n\t* ModuleLoader: creates options internally\n\t* ES6 reference impl: passes it in and uses it for referer only\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funscriptable%2Fbeck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funscriptable%2Fbeck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funscriptable%2Fbeck/lists"}