Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

webtodesktop

aspad8929ISC1.1.6

Convert your favorite pages into portable windows executables! With node, electronjs and electron-builder

electron, electron-builder, node.js, fullstack, javascript, web development, desktop app, npm, programming, MERN stack, web-to-desktop, software development, open source, javascript framework, desktop application, UI development, application packaging, cross-platform, web integration

readme

webtodesktop

Convert your favorite pages into portable windows executables! With node, electronjs and electron-builder

API Reference

How to use

In your paths always use double ("\") since JS omits it, only in the folder path in the url's not

te paht: <YOUR-DIR>/source/dist/win-unpacked


const { webtodesktop } = require("webtodesktop");

webtodesktop("https://www.npmjs.com/", "<ANYDIR>", "<IS-DEV>")

Windows

Parameter Type Description
useUrl string Your favorite url
outputDir string Generation folder
isDev boolean Disable F12 or devTools (default is disabled: false).
myIcon string Use your favorite icon.

Linux (Beta)

Parameter Type Description
useUrl string Your favorite url
outputDir string Generation folder
isDev boolean Disable F12 or devTools (default is disabled: false).

const { webtodesktopLinux } = require("webtodesktop");

webtodesktopLinux("<WEBPAGE>", "<ANYDIR>", "<IS-DEV>","<TYPE>")

Mac (Beta) (DMG)

Parameter Type Description
useUrl string Your favorite url
outputDir string Generation folder
isDev boolean Disable F12 or devTools (default is disabled: false).

const { webtodesktopMac } = require("webtodesktop");

webtodesktopMac("<WEBPAGE>", "<ANYDIR>", "<IS-DEV>")