JavaScript APIs
Matt Frisbie · 2019
The modern web browser has become a Swiss army knife of different application programming interfaces (APIs) detailed in a broad collection of specifications. The Atomics API allows multiple contexts to safely read and write to a single SharedArrayBuffer by forcing buffer operations to occur only one at a time. The Encoding API allows for converting between strings and typed arrays. The Blob and File APIs are designed to give web developers access to files on the client computer in a secure manner that allows for better interaction with those files. Some specifications define an API for a single feature, such as the Web Cryptography API or the Notifications API. The Page Visibility API aims to give developers information about whether or not the page is visible to the user. The Streams API is the answer to a simple but fundamental question: How can a web application consume information in sequential chunks rather than in bulk?