{"id":20857575,"url":"https://github.com/openlayers/ol-skypack","last_synced_at":"2025-09-09T21:42:47.621Z","repository":{"id":66035628,"uuid":"523805065","full_name":"openlayers/ol-skypack","owner":"openlayers","description":"Using OpenLayers with Skypack","archived":false,"fork":false,"pushed_at":"2022-08-22T12:36:06.000Z","size":2,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-19T07:14:09.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/openlayers.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}},"created_at":"2022-08-11T17:05:15.000Z","updated_at":"2024-10-31T20:41:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"4838d394-59f7-4d6d-80d7-3fc048163355","html_url":"https://github.com/openlayers/ol-skypack","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/openlayers%2Fol-skypack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers%2Fol-skypack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers%2Fol-skypack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers%2Fol-skypack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openlayers","download_url":"https://codeload.github.com/openlayers/ol-skypack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243230061,"owners_count":20257640,"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-18T04:41:15.090Z","updated_at":"2025-03-12T13:44:43.005Z","avatar_url":"https://github.com/openlayers.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenLayers + Skypack\n\nThis example demonstrates how the `ol` package can be used with [Skypack](https://www.skypack.dev/).\n\nSkypack allows web pages to import remote packages using ES modules without a development server or bundler.  When using Skypack, instead of importing directly from the `ol` package, you rewrite your imports to use URLs like `https://cdn.skypack.dev/ol`.  For example:\n\n```js\nimport Map from 'https://cdn.skypack.dev/ol/Map.js';\n```\n\nSee the `main.js` for a complete example.\n\nAlthough you do not need a development server to bundle modules, using Skypack does require that you use HTTP(S) to view your `index.html` page.  So an HTTP server like Apache or nginx is required.\n\nFor developing locally, you can also launch a simple HTTP server using your favorite environment right from this directory:\n\n    npx serve .                  # Node.js, or\n    python3 -m http.server 3000  # Python, or\n    php -S localhost:3000        # PHP, or\n    ruby -run -e httpd . -p 3000 # Ruby\n\nYou should now be able to load the `index.html` map example at http://localhost:3000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlayers%2Fol-skypack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenlayers%2Fol-skypack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlayers%2Fol-skypack/lists"}