Your first edit
Tweak animations and save the changes back to your code.
Name the animation
Add an id to the parameters of the call you want to edit:
import { animate } from 'animejs';
animate('.square', {
id: 'Square slide',
x: 200,
duration: 800,
ease: 'out(3)',
});
Give each id a unique, descriptive name, such as 'Hero title reveal'. The editor disables two calls with the same id, and cannot edit or save them.
Reload the page. The timeline shows Square slide, with one row per animated property. Click its name in the timeline sidebar to open the editor window with its parameters.
Tweak a value
In the Parameters folder, drag the duration field, or click it and type 1200. Press Space to play the animation with its new duration. The row shows a dot until you save.

Save
Click the save status button in the menu strip to open the save bar, then press SAVE, or press Cmd + S.

The editor writes the new value into your file:
animate('.square', {
id: 'Square slide',
x: 200,
duration: 1200,
ease: 'out(3)',
});
Only the value you changed is rewritten.