tc-electron-env

0.10.0 • Public • Published

tc-electron-env

Logic for accessing electron environment variables

Usage

  • Installing tc-electron-env.

    npm i -S tc-electron-env
  • Write the following code in your applications source file:

    import env from 'tc-electron-env';
    
    const homePath = env.home();

Testing your changes

  • Create your feature/bugfix/enhancement (my-feature-branch) branch off of master.
  • Make your changes in the new branch (my-feature-branch).
  • Push your changes.
  • Run npm i unfoldingWord/tc-electron-env#my-feature-branch in your application root directory.
  • For subsequent changes run rm -rf node_modules/tc-electron-env; npm i tc-electron-env;

/tc-electron-env/

    Package Sidebar

    Install

    npm i tc-electron-env

    Weekly Downloads

    3

    Version

    0.10.0

    License

    ISC

    Unpacked Size

    11.1 kB

    Total Files

    14

    Last publish

    Collaborators

    • joelcjohnson94
    • abelpz
    • kintsoogii
    • larsgson
    • jakobaleksandrovich
    • neutrinog
    • klappy
    • macolon
    • photo-nomad
    • richmahn
    • bspidel
    • mandolyte
    • jag3773
    • mvahowe