
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
ssb-invite
Advanced tools
Invite-token system, mainly used for pubs. Creates invite codes as one of ways of onboarding.
Invite-token system, mainly used for pubs. Creates invite codes as one of ways of onboarding.
Generally this ends being used for pubs:
Soon, hopefully supercededed by ssb-peer-invites but supported for backwards compatibity.
Create a new invite code.
create {n} [{note}, {external}]
create(n[, note, external], cb)
This produces an invite-code which encodes the ssb-server instance's public address, and a keypair seed.
The keypair seed is used to generate a keypair, which is then used to authenticate a connection with the ssb-server instance.
The ssb-server instance will then grant access to the use
call.
n
(number): How many times the invite can be used before it expires.note
(string): A note to associate with the invite code. The ssb-server instance will
include this note in the follow message that it creates when use
is
called.external
(string): An external hostname to useUse an invite code.
accept {invitecode}
accept(invitecode, cb)
This connects to the server address encoded in the invite-code, then calls use()
on the server.
It will cause the server to follow the local user.
Use an invite code created by this ssb-server instance (advanced function).
use --feed {feedid}
use({ feed: }, cb)
This commands the receiving server to follow the given feed.
An invite-code encodes the ssb-server instance's address, and a keypair seed. The keypair seed must be used to generate a keypair, then authenticate a connection with the ssb-server instance, in order to use this function.
feed
(feedid): The feed the server should follow.MIT
FAQs
Invite-token system, mainly used for pubs. Creates invite codes as one of ways of onboarding.
The npm package ssb-invite receives a total of 36 weekly downloads. As such, ssb-invite popularity was classified as not popular.
We found that ssb-invite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.