{"id":24186387,"url":"https://github.com/kanocomputing/es6-resolution","last_synced_at":"2025-03-03T01:41:56.541Z","repository":{"id":73542352,"uuid":"134732063","full_name":"KanoComputing/es6-resolution","owner":"KanoComputing","description":"Transforms your named ES6 Imports into resolved paths","archived":false,"fork":false,"pushed_at":"2019-04-29T09:32:00.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-01-13T12:46:13.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KanoComputing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-24T15:07:02.000Z","updated_at":"2019-04-29T09:32:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"0df5b4fd-8b90-4785-bc8a-dd8bbbb7465a","html_url":"https://github.com/KanoComputing/es6-resolution","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/KanoComputing%2Fes6-resolution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fes6-resolution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fes6-resolution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fes6-resolution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KanoComputing","download_url":"https://codeload.github.com/KanoComputing/es6-resolution/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241596242,"owners_count":19988041,"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":"2025-01-13T12:35:20.237Z","updated_at":"2025-03-03T01:41:56.536Z","avatar_url":"https://github.com/KanoComputing.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ES6 names resolution for servers\n\nTransforms your named ES6 Imports into resolved paths, allowing a browser to fetch the dependencies.\n\n## Usage\n\n```js\nconst resolve = require('@kano/es6-resolution');\n\nconst body = `\nimport { Utils } from '@acme/my-lib/lib/utils.js';\n\n`;\n\nconst upgradedBody = resolve(body, 'application/javascript', __dirname + '/index.js');\n```\nWill be translated to\n```js\nimport { Utils } from '../../node_modules/@acme/my-lib/lib/utils.js';\n```\n\nBrowsers will be happy and no code compilation is needed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanocomputing%2Fes6-resolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanocomputing%2Fes6-resolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanocomputing%2Fes6-resolution/lists"}