> For the complete documentation index, see [llms.txt](https://cherrycake.tin.cat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cherrycake.tin.cat/version-0.x/reference/core-modules/javascript/javascript-methods.md).

# Javascript methods

## addFileToSet( setName, fileName ) <a href="#addfiletoset" id="addfiletoset"></a>

Adds a file to a Css set.

* **`setName`** The name of the set
* **`fileName`The file name, relative to the set's configured directory.**

## getSetUrl( setNames ) <a href="#getseturl" id="getseturl"></a>

Builds a URL to request the given set contents.

* **`setNames`** Optional name of the Javascript set, or an array of them. If set to `false`, all available sets are used. Default: `false`

**Returns:** The URL of the requested Javascript sets.
