new nostr-tools which abstracts all the relay activity.

This commit is contained in:
fiatjaf
2021-01-09 18:06:26 -03:00
parent 5921ad1080
commit 44edef63f9
11 changed files with 1686 additions and 61 deletions

View File

@@ -1,13 +1,39 @@
{
"name": "nostr-tools",
"version": "0.0.2",
"version": "0.1.0",
"description": "Tools for making a Nostr client.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/fiatjaf/nostr.git"
},
"dependencies": {
"assert": "^2.0.0",
"bigi": "^1.4.2",
"bip-schnorr": "^0.6.2",
"buffer": "^6.0.3",
"ecurve": "^1.0.6",
"pws": "^5.0.2",
"sha.js": "^2.4.11"
"noble-secp256k1": "^1.1.1",
"pws": "^5.0.2"
},
"scripts": {
"prepublish": "rollup -c rollup.config.js"
},
"keywords": [
"decentralization",
"twitter",
"p2p",
"mastodon",
"ssb",
"social",
"unstoppable",
"censorship",
"censorship-resistance",
"client"
],
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-node-resolve": "^11.0.1",
"rollup": "^2.36.1",
"rollup-plugin-ignore": "^1.0.9",
"rollup-plugin-terser": "^7.0.2"
}
}