# useFileSaver

The file saver, which offers a file the ui built as a download.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { useFileSaver } from "@mapcairn/map";
 
function useFileSaver(): FileSaver;
```

## Returns

`FileSaver`

## See also

- [`FileSaver`](https://docs.mapcairn.com/api/core/FileSaver.md)

Source: [packages/map/src/services/hooks.ts:85](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/services/hooks.ts#L85)
