JSON Dropconfig is published in other convenient formats too

Overview

After you publish a JSON Dropconfig, we automatically publish a few extra variations of the same file to make it easy to consume.

Below is a list of additional formats, which are automatically generated.

JSON format

This is a standard format for us. This is what you type, and this is what we store.

JS format

.js format allows to do <script src="https://a.dropconfig.com/🔑.js"></script> and makes your data available at window.nameofdropconfig object.

We achieve this by wrapping the JSON into a single line of code: window[nameofdropconfig] = JSON.stringify(dropconfig) so that you don’t have to.

Examples

Here are all auto-published variations for our demo fast-cdn dropconfig containing JSS for Bootstrap: