0.0.11 • Published 8 years ago

meteor-desktop-localstorage v0.0.11

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Meteor Desktop localStorage npm version

Travis Travis Build Status AppVeyor Build status CircleCI CircleCI


This is a Meteor Desktop plugin.

Because of Electron and meteor-desktop implementation the builtin Chrome localStorage works unreliably.
This package provides a working localStorage substitute. Available as Meteor._localStorage.
API is here.
This also makes Meteor autologin work properly in Electron.

Usage

In your .desktop/settings.json add this package to your plugins list:

{
    "plugins": {
       "meteor-desktop-localstorage": {
            "version": "0.0.11"
        }
    }
}

It will also add omega:meteor-desktop-localstorage package to your Meteor project.

Settings

You can pass custom settings to the plugin, for example:

{
    "plugins": {
       "meteor-desktop-localstorage": {
            "version": "0.0.11",
            "fileName": "myCustomName.json"
        }
    }
}

Contribution

PRs are always welcome. Be sure to update the tests.

For smooth developing process you need to open two terminals. In the first one type npm run build-watch and in the second npm run test-watch.

Tests are run by AVA.

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago