F2.js SDK

F2 enables you to efficiently create fully-integrated, multi-vendor, multi-asset class and multi-channel apps and deploy them in as many app ecosystems as you want.

Developers who adhere to the F2 standard will make it possible for multiple apps, developed independently by different organizations or individuals, to function together creating a seamless and integrated experience.


F2 is an open framework and to get Container and App Developers started, there is a JavaScript SDK—called F2.js—in addition to example apps as part of an open-source project maintained on GitHub.


Anyone is free to download F2.js from the F2 project repository on GitHub. Once downloaded, F2.js can be added to any web page using a script tag:

<script src="//cdnjs.cloudflare.com/ajax/libs/F2/1.4.2/f2.min.js"></script>

The latest version of F2.js is 1.4.2.

Download F2.js 1.4.2 View on GitHub

Packages are variants of F2.js. They are ideally used when, for example, a container already has jQuery or sandboxed apps aren’t needed. In circumstances where not all F2 features are required, Container Providers can use smaller, faster, lighter-weight versions of F2.js. Choose one below:

These are all available on cdnjs.

For more information on the libraries used by F2, see Third Party Libraries below.


The latest version of F2.js will always be in the root of the project, and the version number can be found embedded in the code. The version number is also available on the command line by using:

$> grunt version

In accordance with industry standards, F2 is currently maintained, in as far as reasonably possible, under the Semantic Versioning guidelines.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

For more information on SemVer, please visit SemVer.org.


It is our goal to make upgrading to the latest version of F2 a minor effort for development teams. The details from each release of F2, minor and major, are tracked in the changelog. As of version 1.2, no breaking changes have been introduced and therefore upgrading should be as simple as downloading the latest copy of F2.js and updating your website.

Developers can quick-link to the latest copy of F2.js:

//cdnjs.cloudflare.com/ajax/libs/F2/1.4.2/f2.min.js

A download (zip) of the current version (1.4.2) of F2 is always available along with tags of previous releases.

There is a page on the wiki tracking deprecated features in F2. Starting with version 1.2, three ContainerConfig properties have been retired. As F2 features and/or F2.js APIs are deprecated, we will attempt to give reasonable advance notice via any or all of the F2 communication channels. In addition, we will strive to ensure that backward compatibility will be maintained for at least one major version of F2. For example, if Feature X is deprecated in version 1.3, we will attempt to maintain backward compatibility until the next major release (version 2.0). F2 documentation will be updated accordingly to reflect any changes, and the conversation behind deprecated features will be publicly available on GitHub.

F2 uses third party libraries inside F2.js (see Framework: Choices). These open-source libraries are all on their own release schedules. We cannot guarantee that we will always stay abreast and in tune with such latest releases, but in an effort to improve the F2 framework, we will attempt to update F2.js so that it uses the latest, most stable and most secure version of the third party software. These updates to F2 will be made through the normal release process on GitHub and comments will be open.

Have a question? Ask it on the F2 Google Group (or send an email to OpenF2@googlegroups.com) or start a discussion using Issues on GitHub.

To track bugs, enhancements or other issues, F2 is using Issues on GitHub.


F2 is licensed under the Apache License version 2.0. Details are available in the project readme.