New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

profile-card

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

profile-card

Web Components consist of 4 main features which can be used separately or all together:

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Angular Elements used as custom elements in Angular and Preact App Demo

Web Components consist of 4 main features which can be used separately or all together:

  • Custom Elements – APIs to define new HTML elements.
  • Shadow DOM – Encapsulated DOM and styling, with composition
  • HTML Imports – Declarative methods of importing HTML documents into other documents
  • HTML Templates – The <template> element, which allows documents to contain inert chunks of DOM.

https://en.wikipedia.org/wiki/Web_Components

Getting Started


Requirements

  • Nodejs version 7+
  • Git Bash
Clone Repository
https://github.com/aelbore/profile-card.git
cd profile-card

git submodule init
git submodule update --remote

npm install

npm run bundle
npm run vendor:bundle

Install submodules dependencies
npm install --prefix ng-profile-card-demo
npm install --prefix preact-profile-card-demo

Bundle or Build dependencies
npm run build --prefix preact-profile-card-demo
npm run bundle --prefix ng-profile-card-demo

Start the application
/// for Preact
npm start -- --type preact

/// for Angular
npm start -- --type angular

FAQs

Package last updated on 13 Jan 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