node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

slate

This package contains the core logic of Slate. It's separated further into a series of directories:

  • Changes — containing the changes that are used to alter a Slate document.
  • Constants — containing constants that are used in Slate's codebase.
  • Models — containing the models that define Slate's data structure.
  • Operations — containing the low-level operations that create Slate changes.
  • Schemas - containing the core schema that ships with Slate by default.
  • Utils — containing a few private convenience modules.

Feel free to poke around in each of them to learn more!