Download

Download JSforce JavaScript library for web browser applications

Download JSforce

Compressed and uncompressed copies of JSforce libraries for web browser are available. The uncompressed file is best used during development or debugging; the compressed file saves bandwidth and improves performance in production. You can also download a sourcemap file for use when debugging with a compressed file. The map file is not required for users to run JSforce, it just improves the developer's debugger experience.

To locally download these files, right-click the link and select "Save as..." from the menu.

All in One Library (jsforce.js)

Core (jsforce-core.js)

Analytics API (jsforce-api-analytics.js)

Apex API (jsforce-api-apex.js)

Bulk API (jsforce-api-bulk.js)

Chatter API (jsforce-api-chatter.js)

Metadata API (jsforce-api-metadata.js)

Soap API (jsforce-api-soap.js)

Streaming API (jsforce-api-streaming.js)

Tooling API (jsforce-api-tooling.js)

Using Bower

Bower is a package manager for web application front-end libraries. JSforce is also available in bower. To install JSforce via bower, type following in your project root:

$ bower install jsforce

You'll get the JSforce script files in bower_components directory, so write a tag in HTML to include the file.

<script src="./bower_components/jsforce/build/jsforce.min.js"></script>

Using CDN

JSforce is available from CDN. You can include source directly from cdnjs so download is not always necessary.

To include the script, put following script tag :

<script src="//cdnjs.cloudflare.com/ajax/libs/jsforce/1.9.1/jsforce.min.js"></script>