Renamed scripts to .mjs to follow ES module convention.

This commit is contained in:
2026-01-30 23:16:22 +01:00
parent 0904c44f63
commit c733310d69
6 changed files with 0 additions and 0 deletions

13
bin/open-browser.mjs Executable file
View File

@@ -0,0 +1,13 @@
import open from "open";
async function openBrowser(url) {
try {
await open(url);
console.log(`Browser opened to ${url}`);
} catch (error) {
console.error(`Failed to open browser: ${error}`);
}
}
const urlToOpen = "https://jmespath-playground.koszewscy.waw.pl";
openBrowser(urlToOpen);