{"repo":"hueitan/javascript-sdk-design","free":true,"listed":false,"github":"https://github.com/hueitan/javascript-sdk-design","clone":"git clone https://github.com/hueitan/javascript-sdk-design.git","description":"JavaScript SDK Design Guide extracted from work and personal experience","language":"JavaScript","stars":1431,"topics":["javascript-sdk","sdk","javascript","document","design-guideline","design-principle"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"JavaScript SDK Design Guide Introduction This guide provides an introduction to develop a JavaScript SDK. The best one sentence to describe an SDK is: \"The SDK is the connection bridging the gap between users and the (browser) machine.\" By using this guide, the SDK will be able to run in browsers, desktop, mobile web and various other platforms capable of running JavaScript. The target audience of this writeup excludes non-browser environments such as hardware, embedded and Node.js. Suggest improvements by editing, or drop suggestions on the issue list. I owe you a beer :beers: READ IT ONLINE Content What is an SDK Design Philosophy Scope Include the SDK Asynchronous Syntax Traditional Syntax Comparison Problem of Asynchronous Others SDK Versioning Changelog Document Namespace Storage Mechanism Cookie Check Cookie Writable Check Third-Party Cookie Writable Write Read Remove Cookie Code Session LocalStorage Check LocalStorage Writable Session Storage Check SessionStorage Writable Event Document Ready Message Event Orientation Change Disable Scroll Request Image Beacon Single Post Multiple Posts Iframe Script jsonp Navigator.sendBeacon() XMLHttpRequest Fragment Identifier Maximum Number of Connections Component of URI Parsing URI Debugging Simulating Multiple Domains Developer Tools Simulate a slower network connection Console Logs Debugging Proxy BrowserSync Debugging Node.js Apps Tips and Tricks Piggyback Page Visibility API Document Referrer Console Logs Polyfill EncodeURI o","default_branch":null,"files":null,"tree":[],"storefront":"/r/hueitan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hueitan/javascript-sdk-design/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}