{"id":14037341,"url":"https://github.com/allartk/leaflet.offline","last_synced_at":"2026-02-10T18:10:42.911Z","repository":{"id":19033764,"uuid":"22258247","full_name":"allartk/leaflet.offline","owner":"allartk","description":"Leaflet offline layer","archived":false,"fork":false,"pushed_at":"2026-02-04T10:44:46.000Z","size":7129,"stargazers_count":358,"open_issues_count":10,"forks_count":81,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-02-04T23:28:45.922Z","etag":null,"topics":["leaflet-plugins"],"latest_commit_sha":null,"homepage":"https://allartk.github.io/leaflet.offline/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allartk.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["allartk"]}},"created_at":"2014-07-25T13:44:19.000Z","updated_at":"2026-02-04T10:44:48.000Z","dependencies_parsed_at":"2023-10-22T16:31:20.726Z","dependency_job_id":"d2d039e6-7429-425e-9efb-61c66a02e23a","html_url":"https://github.com/allartk/leaflet.offline","commit_stats":{"total_commits":527,"total_committers":20,"mean_commits":26.35,"dds":0.3263757115749526,"last_synced_commit":"18242ec9d546b0429e585cc06b0cb633898a62ec"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/allartk/leaflet.offline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allartk%2Fleaflet.offline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allartk%2Fleaflet.offline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allartk%2Fleaflet.offline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allartk%2Fleaflet.offline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allartk","download_url":"https://codeload.github.com/allartk/leaflet.offline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allartk%2Fleaflet.offline/sbom","scorecard":{"id":185144,"data":{"date":"2025-08-11","repo":{"name":"github.com/allartk/leaflet.offline","commit":"29a9e2e4ac854356f7981c219ada89dcb5f2838c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yml:5","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"15 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/allartk/leaflet.offline/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/allartk/leaflet.offline/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/allartk/leaflet.offline/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/allartk/leaflet.offline/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/allartk/leaflet.offline/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/allartk/leaflet.offline/release.yml/main?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   2 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Lesser General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:8"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.1.0 not signed: https://api.github.com/repos/allartk/leaflet.offline/releases/168173649","Warn: release artifact v3.0.1 not signed: https://api.github.com/repos/allartk/leaflet.offline/releases/119731063","Warn: release artifact v3.0.0 not signed: https://api.github.com/repos/allartk/leaflet.offline/releases/88607030","Warn: release artifact v3.1.0 does not have provenance: https://api.github.com/repos/allartk/leaflet.offline/releases/168173649","Warn: release artifact v3.0.1 does not have provenance: https://api.github.com/repos/allartk/leaflet.offline/releases/119731063","Warn: release artifact v3.0.0 does not have provenance: https://api.github.com/repos/allartk/leaflet.offline/releases/88607030"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vc8w-jr9v-vj7f","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T19:39:40.237Z","repository_id":19033764,"created_at":"2025-08-16T19:39:40.238Z","updated_at":"2025-08-16T19:39:40.238Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29310128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["leaflet-plugins"],"created_at":"2024-08-12T03:02:43.867Z","updated_at":"2026-02-10T18:10:42.906Z","avatar_url":"https://github.com/allartk.png","language":"TypeScript","readme":"# leaflet.offline\n\n[![npm version](https://badge.fury.io/js/leaflet.offline.svg)](https://badge.fury.io/js/leaflet.offline)\n[![codecov](https://codecov.io/github/allartk/leaflet.offline/graph/badge.svg?token=dy1uNlSvsh)](https://codecov.io/github/allartk/leaflet.offline)\n[![Build Status](https://travis-ci.org/allartk/leaflet.offline.png?branch=master)](https://travis-ci.org/allartk/leaflet.offline)\n\nThis library can be used to create maps, which are still available when you are offline and are fast when your connection is not. It works in the browser or can be used in an mobile app based on html and in progressive webapps.\n\n- [examples](https://github.com/allartk/leaflet.offline/tree/main/examples)\n\n## Dependencies\n\n- [Leafletjs](http://leafletjs.com/)\n- [idb](https://www.npmjs.com/package/idb) To store the tiles with promises\n\n## Install\n\n### With npm\n\nThe package and it's dependencies can also be downloaded into\nyour existing project with [npm](http://npmjs.com):\n\n```\nnpm install leaflet.offline\n```\n\nIn your script add:\n\n```\nimport 'leaflet.offline'\n```\n\n### Manual\n\nUnpack the file for the release (find them under the releasestab ) and add dist/bundle.js in a script tag\nto your page (after leaflet and idb).\n\n### Development\n\nFor running the example locally, you'll need to clone the project and run:\n\n```\nnpm i \u0026\u0026 npm run build\ncd docs\nnpm install \u0026\u0026 npm run start\n```\n\n**pull requests welcome**\n\n* You MUST test your code with `npm test` and  `npm run lint`. On wsl wit ubuntu 24.04, install first libasound, libnss3: `sudo apt install libasound2t64 libnss3`, see [puppeteer docs](https://pptr.dev/guides/system-requirements)\n* Please one feature at a time, if you can split your PR, please do so.\n* Also, do not mix a feature with package updates.\n* [Use commit message conventions](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#rules)\n\n## Api\n\nGenerate docs with\n\n```\nnpm run-script docs\n```\n","funding_links":["https://github.com/sponsors/allartk"],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallartk%2Fleaflet.offline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallartk%2Fleaflet.offline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallartk%2Fleaflet.offline/lists"}