cookies.js VS kruptein

Compare cookies.js vs kruptein and see what are their differences.

cookies.js

🍫 Tastier cookies, local, session, and db storage in a tiny package. Includes subscribe() events for changes. (by franciscop)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
cookies.js kruptein
1 1
2,380 6
- -
0.0 0.0
almost 5 years ago about 1 year ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cookies.js

Posts with mentions or reviews of cookies.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-01.
  • DDD Is Overrated
    2 projects | news.ycombinator.com | 1 Mar 2021
    Sure you might not be able to write 100% of the documentation in one go and then the code, but AFAIK that's neither the goal or the intention of DDD, it's more like "document a bit, write a bit, repeat".

    The way I do it is first write a draft of the documentation, of how I want the API to look like. Then check if that basic code is possible (which I can predict most of the times based on experience), then write some more docs or methods. When writing a lib I normally already know where I want to use it, so I can put example snippets from how I want to use it as the documentation first and then try to implement those methods.

    Examples of libraries I've written mostly this way:

    - https://github.com/franciscop/brownies

    - https://github.com/franciscop/files

    - https://github.com/franciscop/backblaze

kruptein

Posts with mentions or reviews of kruptein. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-27.
  • Ask HN: Those making $0/month or less on side projects – Show and tell
    95 projects | news.ycombinator.com | 27 Jan 2023
    Kruptein: https://github.com/jas-/kruptein

    A node.js module which implements a standard API for symmetric encryption and does so by providing the requisite key derivation from a supplied secret, strong key and cipher selections, performs validate then decrypt of cipher text while supporting most language character sets and ASN.1 encoding ensuring compatibility with most if not all database engines.

    Used best practices documentation and am currently using famous cryptographers throughout history to name each release.

    Built to help provide a simple drop in for protecting data at rest without the fuss of making a bad decision on how to protect it.

What are some alternatives?

When comparing cookies.js and kruptein you can also consider the following projects:

js-cookie - A simple, lightweight JavaScript API for handling browser cookies

bag.js - JS / CSS / files loader + key/value storage

jquery-cookie

basil.js - The missing Javascript smart persistent layer

localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.

WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️

lawnchair.js - A lightweight clientside JSON document store,

DB.js - db.js is a wrapper for IndexedDB to make it easier to work against

basket.js - A script and resource loader for caching & loading files with localStorage

jStorage - jStorage is a simple key/value database to store data on browser side