npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

large-core

v0.0.34

Published

Core services for Large

Readme

Large Core

npm version

image

Large Core is a library that helps you built P2P Typescript apps using IPFS, OrbitDB, and Ethereum.

It provides:

  • A configured OrbitDB instance.

  • An ethers.js Ethereum wallet.

  • Pre-built data services

    • Profile Service - Each wallet has a user profile. Use the default or expand it with other fields.
    • Friend Service - Follow other users. Automatically get updates to their posts and profiles.
    • Read Only Post Service - Load a large feed of posts and easily page through it. It's very lazily-loaded. Posts can not be edited.
    • Blog Post Service - A post service that allows for posts to be updated. Can still be paged through without loading all of the content. Loads a bit more data than the read only post service.
    • Page Service - Manage static pages.
    • Group Service - Not available yet. Will manage groups.
    • Schema Service - Each Large instance has a schema that it adheres to.
    • Wallet Service - Used in cases where MetaMask is not available.
    • Site Settings Service - Basic info about the website.
    • Feed Monitor Service - Manages subscriptions to various post feeds. Listens for updates to all feeds and puts any posts it finds into the user's main feed.
  • Works in the browser, Electron, and (soon) Android/iOS.

    • Use MetaMask or a built-in wallet instead.
  • Data is stored in IPFS and OrbitDB. Right now all data is unencrypted. This will likely change.

  • Ethereum is used to authenticate messages.

Install

Include as a dependency in your package.json

  "dependencies": {
    "large-core": "0.0.7"
  }   

Usage


    import Core from 'large-core'


    //Initialize. It will need to be inside an async function
    try {
        await Core.initialize()
    } catch(ex) {
        console.log(ex)
    }
    


    //Access services
    let walletService:WalletService = Core.walletService
    let processFeedService:ProcessFeedService = Core.processFeedService
    let profileService:ProfileService = Core.profileService
    let postService:PostService = Core.postService
    let friendService:FriendService = Core.friendService
    let schemaService:SchemaService = Core.schemaService
    let identityService:IdentityService = Core.identityService
    let imageService:ImageService = Core.imageService

Events

updated-unread-posts //TODO: Add detail