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

@bearer/authentication-setup

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bearer/authentication-setup

Bearer authentication setup components

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
4
Weekly downloads
 
Created
Source

Built With Stencil

Bearer authentication setup web components

@bearer/authentication-setup helps you integrate a bearer setup form in one minute, so that you don't have to re-implement it over and over. It is published as a Web Component with the help of Stencil.

It is:

  • customizable to match the design of your website (through CSS or CSS variables)
  • easy to integrate (script tag or node modules)
  • easy to use (property-based configuration)
  • works with JavaScript frameworks: React, Vue, Angular

You'll find some examples within the examples folder

Using this component

Script tag

  • Publish to NPM
  • Put a script tag similar to this <script src='https://unpkg.com/@bearer/authentication-setup@latest/dist/bearer-setup.js'></script> in the head of your index.html
  • You can now use the element anywhere in your template: JSX, HTML, etc

Node Modules

  • Run npm install @bearer/authentication-setup --save
  • Put a script tag similar to this <script src='node_modules/@bearer/authentication-setup/dist/@bearer/authentication-setup.js'></script> in the head of your index.html
  • You can now use the element anywhere in your template: JSX, HTML, etc

Note: some bundlers needs to be configured to allow lazy loading of this web component. More information here: https://stenciljs.com/docs/overview

In a stencil-starter app

  • Run npm install @bearer/authentication-setup --save
  • Add an import to the npm packages import @bearer/authentication-setup;
  • You can now use the element anywhere in your template: JSX, HTML, etc

Getting Started

git clone https://github.com/Bearer/authentication-setup.git 

and run:

yarn install --frozen-lockfile
yarn start

To build the component for production, run:

yarn build

To run the unit tests for the components, run:

yarn test

FAQs

Package last updated on 07 May 2019

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