{"id":15680542,"url":"https://github.com/doowb/unlazy-loader","last_synced_at":"2025-05-07T09:41:54.984Z","repository":{"id":57386684,"uuid":"48148400","full_name":"doowb/unlazy-loader","owner":"doowb","description":"Webpack loader to transform lazy-cache files into unlazy cached files.","archived":false,"fork":false,"pushed_at":"2020-04-24T13:41:27.000Z","size":24,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T03:03:38.409Z","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/doowb.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":"2015-12-17T02:49:18.000Z","updated_at":"2022-03-04T16:23:56.000Z","dependencies_parsed_at":"2022-09-14T22:00:26.175Z","dependency_job_id":null,"html_url":"https://github.com/doowb/unlazy-loader","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Funlazy-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Funlazy-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Funlazy-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Funlazy-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/unlazy-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252852488,"owners_count":21814366,"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-10-03T16:42:43.119Z","updated_at":"2025-05-07T09:41:54.962Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unlazy-loader [![NPM version](https://img.shields.io/npm/v/unlazy-loader.svg)](https://www.npmjs.com/package/unlazy-loader)\n\n\u003e Webpack loader to transform lazy-cache files into unlazy cached files.\n\n## Install\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i unlazy-loader --save\n```\n\n## Usage\n\nThis loader is intended to be used with [webpack][webpack] to transform files using [lazy-cache][lazy-cache] into files that require modules directly.\nUse this like any other [webpack loader](http://webpack.github.io/docs/using-loaders.html);\n\n```js\nvar webpackConfig = {\n  module: {\n    loaders: [\n      {\n        test: /\\.js$/,\n        loader: 'unlazy-loader'\n      }\n    ]\n  }\n}\n```\n\n## API\n\n### [.`unlazy-loader`](index.js#L22)\n\nWebpack loader used for transforming files that contain `lazy-cache` into files\nthat require modules directly.\n\n**Params**\n\n* `source` **{String}**: Source code to inspect.    \n* `returns` **{String}**: Transformed source code.  \n\n\n\n\n## Related projects\n* [lazy-cache](https://www.npmjs.com/package/lazy-cache): Cache requires to be lazy-loaded when needed. | [homepage](https://github.com/jonschlinkert/lazy-cache)\n* [webpack](https://www.npmjs.com/package/webpack): Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which… [more](https://www.npmjs.com/package/webpack) | [homepage](https://github.com/webpack/webpack)\n\n## Running tests\nInstall dev dependencies:\n\n```sh\n$ npm i -d \u0026\u0026 npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/unlazy-loader/issues/new).\n\n## Author\n**Brian Woodward**\n\n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb)\n\n## License\nCopyright © 2016 [Brian Woodward](https://github.com/doowb)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on January 14, 2016._\n\n[webpack]: https://github.com/webpack/webpack\n[lazy-cache]: https://github.com/jonschlinkert/lazy-cache\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Funlazy-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Funlazy-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Funlazy-loader/lists"}