GithubHelp home page GithubHelp logo

veliovgroup / client-storage Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 4.0 734 KB

๐Ÿ—„ Bulletproof persistent Client storage, works with disabled Cookies and/or localStorage

Home Page: https://www.npmjs.com/package/ClientStorage

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%
client-storage cookie cookies es6 javascript localstorage meteor meteor-package npm npm-package storage

client-storage's People

Contributors

dr-dimitru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

client-storage's Issues

Reactivity

What is the most elegant what to make this reactive within Meteor?

Local storage value with quotes?

The ClientStorage.set() seem to set the value with quotes included. Has it been done on purpose?
For example:

const test = 'someString';
ClientStorage.set('test1', test);
localStorage.setItem('test2', test);

The test1 is saved in local storage as "someString" (with quotes) whereas test2 just as someString (without quotes). The 'local storage only' mode also saves with the quotes.

Can't use it on Meteor v2.3.2

I'm having an issue:

Upgrading from Meteor 2.2.0 to 2.3.2.
I am using packages ostrio:cookies and ostrio:i18n... one of those seems to have a dependency on otrio:cstorage

I have a suggestion:

Re-declare the dependencies and update so we can upgrade to Meteor 2.3.2.

Thank you so much for sharing your packages, they are great.

Warning message from the console, which I get after upgrading to v2.3.2:
`updated to Meteor 2.3.2.
Your top-level dependencies are at their latest compatible versions.

Newer versions of the following indirect dependencies are available:

  • ostrio:cstorage 2.2.2 (3.0.1 is available)
    These versions may not be compatible with your project.
    To update one or more of these packages to their latest
    compatible versions, pass their names to meteor update,
    or just run meteor update --all-packages.

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.