File Transformer

Allows you to write a custom implementation of some features in Datasaur.

File Transformer feature (formerly named Custom Scripts) can be found in Team workspace. You can hover over to the left sidebar and click on the File Transformer.

Click 'Create a File Transformer' to start writing your script. We currently allow you to write an import and export file transformer.

Importing External Dependencies

In some cases, you may need to import libraries to ease custom script development. Datasaur supports importing external libraries hosted in the NPM public registry.

To do this, you can simply write an import syntax right in your script. For example:

import { uniq } from 'lodash';

Caveat

  • Auto-complete doesn't work on external libraries.

  • We will install the latest version of the library, which may introduce incompatibility if the updated library introduces some breaking changes.

Last updated