Skip to content

Modules

Built-in module documentation for Neutron.

Core Modules

Module Description
sys File I/O, system operations, environment access
json JSON parsing and serialization
http HTTP client for web requests
math Mathematical operations

Data & Strings

Module Description
fmt Type conversion and formatting
strings String manipulation utilities
arrays Array operations
collections Advanced data structures (sets, stacks, queues)

System & Time

Module Description
time Time, dates, and delays
process Process management
path File path utilities
async Asynchronous operations and timers

Utilities

Module Description
log Structured logging
regex Regular expressions
random Random number generation
crypto Cryptographic functions

Quick Example

use sys;
use json;
use http;
use math;

// File operations
var content = sys.read("file.txt");

// JSON
var data = json.parse(content);

// HTTP
var response = http.get("https://api.example.com");

// Math
var result = math.sqrt(16);

Start here: sys module →