mawie81 / electron-window-state

A library to store and restore window sizes and positions for your Electron app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rewrite to TypeScript

arusakov opened this issue · comments

Advantages:

  • Static typing (less mistakes)
  • Type definitions (from the box)
  • Using the newest es2015-2017 syntax, transpiling to es5 (from the box), because uglifyjs is still not support es2015+ syntax, but I think a lot of users use it for production

@mawie81
What do you think about it?
I can help and rewrite all by myself.

Hi,

thanks for offering your help.
To be honest, I would like to keep this library as simple as possible, avoiding extra steps like transpiling (electron is on a very up-to-date chromium version anyways) or minification (not needed because the app is running locally anyway).

What I would love to see is some form of re-write using the available es2015-2017 features in electron (thought about using an es2015 class for a while) without any transpiling and stuff like that.

So if you or anyone else wants to help out in this, please feel free. Unfortunately my time currently does not allow this 😕