{"id":17154359,"url":"https://github.com/not-an-aardvark/entire-folder","last_synced_at":"2025-03-24T13:24:53.186Z","repository":{"id":57225704,"uuid":"54872831","full_name":"not-an-aardvark/entire-folder","owner":"not-an-aardvark","description":"Allow CommonJS require() to work with folder names","archived":false,"fork":false,"pushed_at":"2016-03-28T09:02:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T18:02:05.518Z","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/not-an-aardvark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-28T06:52:53.000Z","updated_at":"2016-03-28T06:53:07.000Z","dependencies_parsed_at":"2022-08-24T11:00:31.382Z","dependency_job_id":null,"html_url":"https://github.com/not-an-aardvark/entire-folder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-an-aardvark%2Fentire-folder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-an-aardvark%2Fentire-folder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-an-aardvark%2Fentire-folder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-an-aardvark%2Fentire-folder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/not-an-aardvark","download_url":"https://codeload.github.com/not-an-aardvark/entire-folder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245277256,"owners_count":20589125,"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-14T21:49:00.203Z","updated_at":"2025-03-24T13:24:53.161Z","avatar_url":"https://github.com/not-an-aardvark.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# entire-folder [![Build Status](https://travis-ci.org/not-an-aardvark/entire-folder.svg?branch=master)](https://travis-ci.org/not-an-aardvark/entire-folder)\n\nAllows you to `require()` all of the modules in a folder.\n\n```bash\nnpm install entire-folder\n```\n\n## Usage\n\nSuppose there is a folder called `myFolder/` in the current directory. It contains the files `file1.js`, `file2.js`, and `file3.js`.\n\n```js\nvar folder = require('entire-folder')('myFolder');\nconsole.log(folder);\n/* =\u003e {\n  file1: \"file1's exports would be here\",\n  file2: \"file2's exports would be here\",\n  file3: \"file3's exports would be here\"\n} */\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-an-aardvark%2Fentire-folder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnot-an-aardvark%2Fentire-folder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-an-aardvark%2Fentire-folder/lists"}