`clkrst` service IPC wrapper for nx.js applications
The @nx.js/clkrst package provides a wrapper for the clkrst service IPC, which allows
for adjusting the clock rate of the Switch's CPU, GPU, and memory.
In short, use this package for overclocking your Switch.
import { openSession, PcvModuleId } from '@nx.js/clkrst';// Create a session for the CPUconst session = openSession(PcvModuleId.CpuBus);// Get the current clock rateconsole.log(session.getClockRate());// Get list of possible CPU clock ratesconst { rates } = session.getPossibleClockRates();// Overclock CPU **TO THE MAX**session.setClockRate(rates[rates.length - 1]);