Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crdts

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crdts - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

package.json
{
"name": "crdts",
"version": "0.1.4",
"version": "0.1.5",
"description": "A CRDT Library for JavaScript",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -16,2 +16,3 @@ # CRDTs

- [G-Counter](https://github.com/orbitdb/crdts/blob/master/src/G-Counter.js)
- [PN-Counter](https://github.com/orbitdb/crdts/blob/master/src/PN-Counter.js)
- [G-Set](https://github.com/orbitdb/crdts/blob/master/src/G-Set.js)

@@ -29,2 +30,3 @@ - [2P-Set](https://github.com/orbitdb/crdts/blob/master/src/2P-Set.js)

const GCounter = require('crdts').GCounter
const PNCounter = require('crdts').PNCounter
const GSet = require('crdts').GSet

@@ -44,9 +46,9 @@ const TwoPSet = require('crdts').TwoPSet

```
+-----------++-----------++----------++---------++------------+
Data Type | OR-Set || LWW-Set || 2P-Set || G-Set || G-Counter |
+-----------++-----------++----------++---------++------------+
Base Class | CmRDT-Set | -- |
|-----------------------------------------------+-------------+
CRDT Type | Operation-Based | State-based |
+-----------------------------------------------+-------------+
+-----------++-----------++----------++---------++------------++------------+
Data Type | OR-Set || LWW-Set || 2P-Set || G-Set || G-Counter || PN-Counter |
+-----------++-----------++----------++---------++------------++------------+
Base Class | CmRDT-Set | -- |
|-----------------------------------------------+---------------------------+
CRDT Type | Operation-Based | State-based |
+-----------------------------------------------+---------------------------+
```

@@ -53,0 +55,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc