Sakana Docs

Documentation for the Sakana emulator.


Main

Sakana:

API

Switch:

Files

Sakana API

When you add Sakana to your website you can use the api to load games, change settings and other.

[!WARNING] Sakana is in a development state, this means the api changes frequently and that the docs might be outdated.

Basic File loading

import { Sakana } from 'path/to/sakana/core/index.js'

let emulator = new Sakana('div id');

emulator.load(game file, key file);

Note that the files passed must be from a input.

Full api