Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pubudutr/simple-share

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pubudutr/simple-share

A simple share component for angular

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Simple Share is an angular component to embed social links. This was developed as a proof of concept module using Angular library generation in v6. Not to be used in production apps.

Installation

Install simple-share from npm

npm i @pubudutr/simple-share --save

Import the SimpleShareModule in app.module.ts

import { SimpleShareModule } from '@pubudutr/simple-share';

@NgModule({
  ...
  imports: [SimpleShareModule]
  ...
});

Add the component to you page

<lib-simple-share [links]="links"></lib-simple-share>

Add the links object in the relevent component

links = {
  facebook: 'https://facebook.com',
  instagram: 'https://instagram.com'
};

FAQs

Package last updated on 08 May 2018

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc