SPF

Top

Install with npm or Bower

Install the npm package:

npm install spf

Install the Bower package:

bower install spf

You can link to the JS files directly from several popular CDNs:

  • Google Hosted Libraries
    https://ajax.googleapis.com/ajax/libs/spf/2.4.0/spf.js
  • cdnjs
    https://cdnjs.cloudflare.com/ajax/libs/spf/2.4.0/spf.js
  • jsDelivr
    https://cdn.jsdelivr.net/spf/2.4.0/spf.js
  • OSSCDN
    https://oss.maxcdn.com/spf/2.4.0/spf.js

Download a release

Download just the minified JS files: spfjs-2.4.0-dist.zip

curl -LO https://github.com/youtube/spfjs/releases/download/v2.4.0/spfjs-2.4.0-dist.zip
unzip spfjs-2.4.0-dist.zip

Or, download the minified files and complete source code: v2.4.0.zip

curl -LO https://github.com/youtube/spfjs/archive/v2.4.0.zip
unzip v2.4.0.zip

Clone with Git

Clone the project from GitHub and checkout the release:

git clone https://github.com/youtube/spfjs.git
cd spfjs
git checkout v2.4.0

Get Started

After you've grabbed the code, get started.