Node.js SDK for RotaStellar - Space Computing Infrastructure
npm install @rotastellar/sdkNode.js SDK for RotaStellar — Space Computing Infrastructure
Core types, utilities, and client for the RotaStellar platform.
``bash`
npm install @rotastellar/sdk
`typescript
import { Position, Orbit, Satellite, TimeRange } from '@rotastellar/sdk';
// Create a geographic position (e.g., Kennedy Space Center)
const ksc = new Position({
latitude: 28.5729,
longitude: -80.6490,
altitudeKm: 0.0
});
console.log(KSC: ${ksc.latitude}°N, ${ksc.longitude}°W);
// Define an ISS-like orbit
const orbit = new Orbit({
semiMajorAxisKm: 6778.0,
eccentricity: 0.0001,
inclinationDeg: 51.6,
raanDeg: 100.0,
argPeriapsisDeg: 90.0,
trueAnomalyDeg: 0.0
});
console.log(Orbital period: ${orbit.periodMinutes.toFixed(1)} minutes);Apogee: ${orbit.apogeeKm.toFixed(1)} km
console.log();
// Create a satellite
const satellite = new Satellite({
id: 'ISS',
name: 'International Space Station',
noradId: 25544,
position: new Position({ latitude: 45.0, longitude: -122.0, altitudeKm: 408.0 }),
orbit
});
// Define a time range
const range = new TimeRange({
start: new Date('2026-01-01T00:00:00Z'),
end: new Date('2026-01-02T00:00:00Z')
});
console.log(Duration: ${range.durationHours.toFixed(1)} hours);``
- Position — Geographic coordinates with altitude
- Orbit — Keplerian orbital elements with derived properties
- Satellite — Satellite metadata and state
- TimeRange — Time window specifications
- Validation — Runtime parameter validation with Zod
| Package | Description |
|---------|-------------|
| @rotastellar/intel | Satellite tracking, TLE parsing, conjunction analysis |
| @rotastellar/compute | Thermal, power, latency, and feasibility analysis |
| @rotastellar/distributed | Federated learning, model partitioning, mesh routing |
- Website: https://rotastellar.com
- Documentation: https://docs.rotastellar.com/sdks/node
- GitHub: https://github.com/rotastellar/rotastellar-node
Created by Subhadip Mitra at RotaStellar.
MIT License — Copyright (c) 2026 RotaStellar