1.0.6 • Published 4 years ago
easywindow.js v1.0.6
easywindow.js
Created extremely simple and modern looking windows with this simple package. Using the electron dependency, easywindow.js will allow you to make a clean and slick looking window with no work at all.
Installation
To install easywindow.js simple type npm i easywindow.js
in your project workspace.
Next, follow the example given below to render the window with content!
To run the project, type electron .
in the project workspace.
Example
index.js
const window = require('easywindow.js');
var port = 1234;
var file = './index.html';
window.startWebServer(port, file);
window.createWindow('My Easy Window!', port);
index.html
This is HTML!!