Skip to content

anon767/p2pcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P2PChatjs

A simple P2P Cache for Javascript (Browser and NodeJS)

Basically everyone who loads the script, is able to save and provide hashed Data to every other Peer. This is called a distributed Cache.

Usage

require bundle.js and use it like:

const p2pcache = require("./p2pcache");
p2pcache.save("key","value");
let fetch = p2pcache.get("key");

Releases

No releases published

Packages

No packages published

Languages