I am way out of my comfort zone here, so I will keep this short and simple. Google is working on a new experimental feature for Chrome called “Built-in Modules”.
This is not really just a Chrome specific feature, but part of a plan to move the web forward.
You can read the technical details here. Let me quote excerpts for the non-dev folks like me here.
Like traditional web APIs, built-in modules must go through a standardization process and have well-defined specifications, but unlike traditional web APIs, they’re not exposed on the global scope—they’re only available via imports.
Additional details are available on this GitHub page too. Excerpts:
With the introduction of a standard developers will get a well-defined API that does not have to be included with their pages or application. The functionality of the standard library will have gone through a standardization track and will have well-defined APIs and behavior.
If you are looking for more details on KV Storage, you can read more about it here.
Now Available on Chrome Canary
KV-storage is now available as an experimental flag in Chrome and Chrome OS Canary channel. This is expected to be shipped with version 74 of Google Chrome and Chrome OS.
To test this feature, enable the flag “chrome://flags/#enable-built-in-module-kv-storage” and restart Chrome.