Datasaur
Search…
⌃K

File Transformer

Allows you to write custom implementation of some features in Datasaur.
File Transformer feature (formerly named Custom Scripts) can be found in Team workspace. You can hover to the left sidebar and click the File Transformer.
Click Create a File Transformer to start writing your script. We are currently allows you to write an import and export file transformer.

Importing External Dependencies

In some cases, you may need to import libraries to ease the custom script development. Datasaur supports importing external libraries hosted in 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 and may introduce incompatibility when the updated library introduces some breaking changes.