Last updated

Thanks to VanCode's modular design, the standard library of Tim Engine offers a wide range of FFI modules and built-in functions that you can use in your projects. These libraries cover various domains such as math, string manipulation, file I/O, and more.

The following standard library modules are available:

  • std/system — automatically imported into every template; provides the built-in operators, type conversions, math utilities, OS operations, JSON parsing and more
  • std/strings — string manipulation functions
  • std/arrays — array manipulation functions
  • std/objects — object manipulation functions
  • std/json — JSON serialization and utilities
System library

System module provides the basics, types and functions for the engine to work, including math and JSON utilities.

Strings

String manipulation functions, including formatting, splitting, and more.

Arrays

Array manipulation functions, including creation, resizing, and more.

Objects

Object manipulation functions, including creation, property access, and more.

JSON

JSON serialization and utilities, including parsing, pretty-printing, keys and values access.