{"id":15361529,"url":"https://github.com/jonathanong/lazyrequire","last_synced_at":"2025-04-15T08:41:29.385Z","repository":{"id":18963033,"uuid":"22183636","full_name":"jonathanong/lazyrequire","owner":"jonathanong","description":"lazily require modules in node.js","archived":false,"fork":false,"pushed_at":"2017-05-24T16:12:35.000Z","size":17,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T23:34:21.102Z","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/jonathanong.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-07-23T22:47:24.000Z","updated_at":"2023-08-16T16:18:46.000Z","dependencies_parsed_at":"2022-09-05T21:51:32.150Z","dependency_job_id":null,"html_url":"https://github.com/jonathanong/lazyrequire","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanong%2Flazyrequire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanong%2Flazyrequire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanong%2Flazyrequire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanong%2Flazyrequire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanong","download_url":"https://codeload.github.com/jonathanong/lazyrequire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766733,"owners_count":21158301,"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-01T12:55:32.640Z","updated_at":"2025-04-15T08:41:29.366Z","avatar_url":"https://github.com/jonathanong.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# lazyrequire\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\nLazily require modules in node.js.\n\n```js\nvar lazy = require('lazyrequire')(require)\n\nvar esprima = lazy('esprima')\n\nsetImmediate(function () {\n  esprima(/* load it if it's not loaded */).parse()\n})\n```\n\n[npm-image]: https://img.shields.io/npm/v/lazyrequire.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/lazyrequire\n[travis-image]: https://img.shields.io/travis/jonathanong/lazyrequire.svg?style=flat-square\n[travis-url]: https://travis-ci.org/jonathanong/lazyrequire\n[codecov-image]: https://img.shields.io/codecov/c/github/jonathanong/lazyrequire/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/jonathanong/lazyrequire\n[david-image]: http://img.shields.io/david/jonathanong/lazyrequire.svg?style=flat-square\n[david-url]: https://david-dm.org/jonathanong/lazyrequire\n[license-image]: http://img.shields.io/npm/l/lazyrequire.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/lazyrequire.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/lazyrequire\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanong%2Flazyrequire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanong%2Flazyrequire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanong%2Flazyrequire/lists"}