Socket
Book a DemoInstallSign in
Socket

@leosprograms/syn-core

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leosprograms/syn-core

Core package to easily build `syn` Holochain applications.

0.400.0-dev.9
latest
npmnpm
Version published
Maintainers
1
Created
Source

@leosprograms/syn-core

Core package to easily build syn Holochain applications.

Installing

Install the necessary dependencies:

npm install @holochain-open-dev/profiles @leosprograms/syn-core

Usage

First, you need to have instantiated a SynStore from @leosprograms/syn-store and a ProfilesStore from @holochain-open-dev/profiles.

Defining the Context Providers

// Define the <profiles-context> element
import '@holochain-open-dev/profiles/dist/elements/profiles-context.js';

// Define the <syn-context> element
import '@leosprograms/syn-core/dist/elements/syn-context.js';

Now define the and the element and add it to your html wrapping the whole section of your page in which you are going to be placing the elements from @leosprograms/syn-elements:

<profiles-context id="profiles-context"> 
  <syn-context>
    <!-- The rest of your application goes here -->
  </syn-context>
</profiles-context>

Connect the Store to the Context Providers

Go to this page, select the framework you are using, and follow its example in order to:

  • Connect the ProfilesStore to the with id="profiles-context".
  • Connect the SynStore to the .

FAQs

Package last updated on 11 Apr 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.