
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@orbitdb/quickstart
Advanced tools
A preconfigured instance which allows developers to "test drive" OrbitDB.
A preconfigured OrbitDB instance which allows users to quickly "test drive" OrbitDB.
This repository provides convenience functions and IPFS and Libp2p configurations to deploy OrbitDB quickly and with minimal knowledge of Helia/Libp2p.
This project uses npm and nodejs.
npm i @orbitdb/quickstart
To launch a OrbitDB instance and open a database, run startOrbitDB
:
import { startOrbitDB, stopOrbitDB } from '@orbitdb/quickstart'
const orbitdb = await startOrbitDB()
const db1 = await orbitdb.open('db1')
await db1.add('hello world!')
console.log(await db1.all())
await stopOrbitDB(orbitdb)
OrbitDB Quickstart also includes default Libp2p configurations for Node.js and browser for basic connections between multiple peers:
import { createOrbitDB } from '@orbitdb/core'
import { DefaultLibp2pOptions } from '@orbitdb/quickstart'
const libp2p = createLibp2p({ ...DefaultLibp2pOptions })
const ipfs = await createHelia({ libp2p })
const orbitdb = await createOrbitDB({ ipfs })
const db1 = await orbitdb.open('db1')
await db1.add('hello world!')
console.log(await db1.all())
MIT © 2024 OrbitDB Community
FAQs
A preconfigured instance which allows developers to "test drive" OrbitDB.
We found that @orbitdb/quickstart demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.