This package exposes Sogouda as a JavaScript/TypeScript library.
For more information, please refer to the main repository.
To install the sogouda as a dependency of your package, please run the following command:
npm i sogoudaTo install the sogouda executable globally for the user, please run the following command:
npm i -g sogoudaTo use sogouda from within package scripts, please run the following command:
npm i -D sogoudasogouda --title "Example App" --url file:///path/to/the/app/index.htmlsogouda --title "Example App" --url https://example.comimport { App } from "sogouda";
// Set the app's options.
const options = {
title: "Example App",
url: "file:///path/to/the/app/index.html"
};
// Create the app context.
const app = new App(options);
// Start the app.
app.startSync();import { App } from "sogouda";
// Set the app's options.
const options = {
title: "Example App",
url: "https://example.com"
};
// Create the app context.
const app = new App(options);
// Start the app.
app.startSync();