![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
orbit-db-feedstore
Advanced tools
Readme
Log database for orbit-db
A log database with traversable history. Entries can be added and removed. Useful for "shopping cart" type of use cases, or for example as a feed of blog posts or "tweets".
Used in orbit-db.
This project uses npm and node
npm install orbit-db ipfs
First, create an instance of OrbitDB:
import * as IPFS from 'ipfs'
import OrbitDB from 'orbit-db'
const ipfs = new IPFS()
const orbitdb = await OrbitDB.createInstance(ipfs)
Get a feed database and add an entry to it:
const feed = await orbitdb.feed('haad.posts')
feed.add({ title: 'Hello', content: 'World' })
.then(() => {
const posts = feed.iterator().collect()
posts.forEach((post) => {
let data = post.payload.value
console.log(data.title + '\n', data.content)
// Hello
// World
})
})
Later, when the database contains data, load the history and query when ready:
const feed = await orbitdb.feed('haad.posts')
feed.events.on('ready', () => {
const posts = feed.iterator().collect()
posts.forEach((post) => console.log(post.title + '\n', post.content))
// Hello
// World
})
See orbit-db's API Documenations for full details.
If you think this could be better, please open an issue!
Please note that all interactions in @orbitdb fall under our Code of Conduct.
Note: Tests for this repo are in the orbit-db
repository.
MIT © 2016-2020 Protocol Labs Inc., Haja Networks Oy
FAQs
Feed store for orbit-db
The npm package orbit-db-feedstore receives a total of 131 weekly downloads. As such, orbit-db-feedstore popularity was classified as not popular.
We found that orbit-db-feedstore demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.