Nonagons Please Me

    electron-store-webpack-wrapper

    0.0.2 • Public • Published

    electron-store-webpack-wrapper

    npm version npm downloads Build Status

    While implementing redux-persist-electron-storage I found out, that it is possible to use electron-store with webpack by bundling it in a module. So I decided to create this super simple module to prevent the following error:

    Uncaught Error: Cannot find module "."
    

    Installation

    yarn add electron-store-webpack-wrapper

    Usage

    import createElectronStore from "electron-store-webpack-wrapper";
     
    const electronStore = createElectronStore({
      // your electron-store options here
    })
     
    const value = electronStore.get('key')

    Keywords

    none

    Install

    npm i electron-store-webpack-wrapper

    DownloadsWeekly Downloads

    476

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • psperber