Socket
Socket
Sign inDemoInstall

@peerpiper/awesome-peerpiper-components

Package Overview
Dependencies
2
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @peerpiper/awesome-peerpiper-components

Need a start on hacking on the [Deploy REPL](https://github.com/DougAnderson444/web3-repl-deploy)?


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
1.31 MB
Created
Weekly downloads
 

Readme

Source

Awesome PeerPiper Components

Need a start on hacking on the Deploy REPL?

Use these free, open source, and unencrypted components built for being imported into the PeerPiper ecosystem. Build and compile at home or in the Deploy REPL then use via the Gateway in your app.

Reference Implementation

Contact Card. ToDo List

Use

✨ See src/routes/index.svelte for example usage.

In Svelte:

<script>
	import { Peerpiper } from '@peerpiper/awesome-peerpiper-components';

	export let name = 'Douglas Anderson';
	export let address = '247 Main Street, USA';
</script>

<div>
	Demo <pre>awesome-peerpiper-components</pre>
</div>

<Peerpiper.ContactCard>
	<span slot="name">{name}</span>

	<span slot="address">
		{address}
	</span>
</Peerpiper.ContactCard>

In Vanilla JS, import from Github using jsdelivr then mount as per Svelte docs:

import ContactCard from 'https://cdn.jsdelivr.net/gh/PeerPiper/awesome-peerpiper-components@master/dist/@peerpiper/ContactCard.svelte.js';

const app = new ContactCard({
	target: document.getElementById('target-div') || document.body,
	props: {
		// assuming App.svelte contains something like
		// `export let answer`:
		name: 'Doug Anderson',
		address: '247 Main Street USA'
	}
});

<div id="target-div"></div>;

Pull Requests - Add your Awesome PeerPiper Component

Yes please. More to come. Instructions to follow.

FAQs

Last updated on 22 Sep 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc