0.0.11 • Published 10 years ago

meteor-desktop-localstorage v0.0.11

Weekly downloads
2
License
MIT
Repository
github
Last release
10 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

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago