> For the complete documentation index, see [llms.txt](https://docs.datasaur.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasaur.ai/workspace-management/file-transformer.md).

# File Transformer

File transformer feature can be found in **Team workspace**. You can hover over to the left sidebar and click **File Transformer**.

<figure><img src="/files/nsIFoEjjEKMWPgkkioAb" alt=""><figcaption></figcaption></figure>

Click **Create file transformer** to start writing your script. Enter a name, then choose the type of file transformer:

* Select **Import** to create a script for importing files into a project.
* Select **Export** to create a script for exporting files from a project.

<figure><img src="/files/cbFVlonlUNP622J0BrI2" alt=""><figcaption></figcaption></figure>

## Import external dependencies

In some cases, you may need to import libraries to help you write custom script. You can import external libraries hosted in the NPM public registry by adding an import statement:

```typescript
import { uniq } from 'lodash';
```

### **Notes**

* Auto-complete doesn't work on external libraries.
* The latest version of the library is installed by default, which may introduce incompatibilities if the update has breaking changes.
