{"id":20285804,"url":"https://github.com/tpkn/aliasmo","last_synced_at":"2026-05-08T11:37:09.907Z","repository":{"id":57176058,"uuid":"183075133","full_name":"tpkn/aliasmo","owner":"tpkn","description":"Require NodeJs module using alias","archived":false,"fork":false,"pushed_at":"2019-12-13T17:09:40.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-25T09:28:00.174Z","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/tpkn.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":"2019-04-23T18:37:07.000Z","updated_at":"2019-12-13T17:09:50.000Z","dependencies_parsed_at":"2022-09-03T23:25:24.341Z","dependency_job_id":null,"html_url":"https://github.com/tpkn/aliasmo","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/tpkn%2Faliasmo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Faliasmo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Faliasmo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Faliasmo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpkn","download_url":"https://codeload.github.com/tpkn/aliasmo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241780512,"owners_count":20019061,"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-11-14T14:29:03.164Z","updated_at":"2026-05-08T11:37:09.865Z","avatar_url":"https://github.com/tpkn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aliasmo [![npm Package](https://img.shields.io/npm/v/aliasmo.svg)](https://www.npmjs.org/package/aliasmo)\nRequire NodeJs modules using alias\n\n:warning: Tested only on CommonJS system, and not too far in deep.\n\n\n## API\n```javascript\nrequire('aliasmo')();\n\n// or without modifying package.json file\n\nrequire('aliasmo')({ \n   \"@root\": \".\",\n   \"@config\": \"./config.js\",\n   \"@routes\": \"routes/\",\n   \"@util\": \"modules/util\"\n});\n```\n\n### package.json\n```json\n{\n   \"name\": \"app\",\n   \"version\": \"0.0.1\",\n   \"main\": \"app.js\",\n   \"aliases\": {\n      \"@root\": \".\",\n      \"@config\": \"./config.js\",\n      \"@routes\": \"routes/\",\n      \"@util\": \"modules/util\"\n   },\n   \"dependencies\": {\n      \n   }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Faliasmo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpkn%2Faliasmo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Faliasmo/lists"}