{"id":17683086,"url":"https://github.com/zpratt/async-google-maps","last_synced_at":"2025-05-12T21:26:12.197Z","repository":{"id":28528357,"uuid":"32045250","full_name":"zpratt/async-google-maps","owner":"zpratt","description":"Asynchronous loading and creation of google maps","archived":false,"fork":false,"pushed_at":"2017-05-26T13:45:45.000Z","size":419,"stargazers_count":16,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-20T18:38:53.097Z","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/zpratt.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":"2015-03-11T22:46:41.000Z","updated_at":"2021-09-19T02:21:29.000Z","dependencies_parsed_at":"2022-09-06T04:02:19.180Z","dependency_job_id":null,"html_url":"https://github.com/zpratt/async-google-maps","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpratt%2Fasync-google-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpratt%2Fasync-google-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpratt%2Fasync-google-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpratt%2Fasync-google-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zpratt","download_url":"https://codeload.github.com/zpratt/async-google-maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253824303,"owners_count":21969995,"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-10-24T09:44:20.195Z","updated_at":"2025-05-12T21:26:12.153Z","avatar_url":"https://github.com/zpratt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Asynchronous loading and creation of google maps\n\n[![Build Status](https://travis-ci.org/zpratt/async-google-maps.svg)](https://travis-ci.org/zpratt/async-google-maps)\n[![npm](https://img.shields.io/npm/v/async-google-maps.svg)](https://www.npmjs.com/package/async-google-maps)\n\n## Why use this module?\n\nI wrote this module to have the simplest possible public API and to handle the common case of waiting to add things to the map until it is `idle`. It is also targeted at making the creation of multiple map instances easier to manage, since each call to `create` will return a promise. There is [another library](https://github.com/sakren/node-google-maps) you can use if you don't like mine.\n\nAdditionally, I have focused on code readability, test quality, and attempted to make this an easy module to TDD with as a dependency. You can easily stub the API, instead of having to verify properties of the module itself. TDD is a passion of mine.\n\n### Not fully baked yet\n\nI have yet to include the options for the business version, but I expect to include that in the next release.\n\n## Running tests\n\nThis module is 100% test-driven. Please feel free to run the tests and critique them.\n\n1. Install io.js (needed for jsdom)\n2. `git clone` ...\n3. `npm i`\n4. `npm test`\n\n## Usage\n\nThis is a pure commonjs module with no production dependencies. I recommend using either [webpack](http://webpack.github.io/docs/) or [browserify](https://github.com/substack/node-browserify) to build.\n\nSee the [wiki](https://github.com/zpratt/async-google-maps/wiki) for usage examples.\n\n## Documentation\n\nAPI documentation can be found [here](http://zpratt.github.io/async-google-maps/docs/async-google-maps/0.2.2/index.html).\n\n### Promises\n\nThis library leverages the ES6 promise implementation, which is currently [available in most modern browsers](http://caniuse.com/#feat=promises). If you wish to use it with browsers that do not support the ES6 promise implementation, then I recommend using [a polyfill](https://github.com/jakearchibald/es6-promise).\n\n### Why?\n\nI have intentionally limited the production dependencies of this module, so you are not forced to use a particular library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpratt%2Fasync-google-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzpratt%2Fasync-google-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpratt%2Fasync-google-maps/lists"}