{"id":26134015,"url":"https://github.com/rodgeraraujo/uses-js","last_synced_at":"2026-05-15T23:04:28.779Z","repository":{"id":56625689,"uuid":"282734913","full_name":"rodgeraraujo/uses-js","owner":"rodgeraraujo","description":"A simple JavaScript file and module loader by namespace.","archived":false,"fork":false,"pushed_at":"2020-10-29T02:40:18.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T11:38:28.493Z","etag":null,"topics":["import","javascript","js","module","node","require"],"latest_commit_sha":null,"homepage":"","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/rodgeraraujo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-26T21:18:23.000Z","updated_at":"2023-11-22T11:02:34.000Z","dependencies_parsed_at":"2022-08-15T22:10:37.359Z","dependency_job_id":null,"html_url":"https://github.com/rodgeraraujo/uses-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodgeraraujo%2Fuses-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodgeraraujo%2Fuses-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodgeraraujo%2Fuses-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodgeraraujo%2Fuses-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodgeraraujo","download_url":"https://codeload.github.com/rodgeraraujo/uses-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242940018,"owners_count":20209883,"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":["import","javascript","js","module","node","require"],"created_at":"2025-03-10T23:03:46.427Z","updated_at":"2026-05-15T23:04:23.745Z","avatar_url":"https://github.com/rodgeraraujo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uses\n\nImport the modules by name, not by the file path, simple JavaScript file and module loader.\n\n[![npm version](https://badge.fury.io/js/uses-js.svg)](https://badge.fury.io/js/uses-js) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n### Installation\n\nnpm:\n\n```shell\n$ npm i uses-js\n```\n\nyarn:\n\n```shell\n$ yarn add uses-js\n```\n\n#### Example usage\n\nThis is a simple example of usage the lib.\n\n```js\nrequire('uses-js'); //require in any JS file to get `use` reference\n\nconst LocalModule = use('project-name/module-name');\n\nconst NodeModule = use('module-name');\n```\n\n## Changelog\n\nAll notable changes to this project will be documented here.\n\n#### [0.1.0] - 2020-07-26\n\n    Initial release.\n\n#### [0.1.1] - 2020-07-26\n\n    Added, a contributing guide file;\n    Updated the README, added `contributing` section;\n\n## Contributing\n\nIf you want to contribute to the project and make it better, feel free to fork and contribute after reading the [CONTRIBUTING.md](https://github.com/rodgeraraujo/uses-js/blob/master/CONTRIBUTING.md) file.\n\n## License\n\nLicensed under the [MIT](https://github.com/rodgeraraujo/usejs/blob/master/LICENSE) license.\n\n## Author 👽\n\nMade with ❤ by [Rogério Araújo](https://github.com/rodgeraraujo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodgeraraujo%2Fuses-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodgeraraujo%2Fuses-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodgeraraujo%2Fuses-js/lists"}