Skip to main content

Overview

The SlothTools Data Editor by Sellers Industries is a JavaScript playground for data manipulation. The pipeline is equiped with Lazy Library, a proprietary data manipulation library that is super easy to use (similar to LoDash).

Purpose

As developers we are constantly having to convert/manipulate data. Because of this we were constantly searching for online tools to deal with converting or opening an editor, importing libraries and data, just to apply a simple manipulation.

We thought there had to be a better way. So, we created SlothTools Data Editor. Simply paste your input value in the input editor (it will parse it and figure out the data type), type some JavaScript to manipulate the input varible, and execute. Voila!

How to use?

  1. Paste your input value in the input editor, the data will automaticlly be parsed into either string, array, or an object
  2. Manipulate the payload varible in the pipeline editor, use the Lazy Library to help you
  3. Click execute
  4. Copy your output from the output editor

Hints

  • You can import formats Excel, CSV, and YAML as text and using Lazy Library with the .importExcel(), .importCSV(), and .importYAML() methods.
  • You can use log information to the system console using the Console Log Methods

Templates

To checkout some examples and templates open the Data Editor app and click templates on the top menu bar. You can see some awesome examples and templates.

Examples

Example 1

InputPipelineOutput
2
3
4
5
6
7
8
payload = Lazy(payload)
.split("\n")
.sum()
36