New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@manifoldco/shadowcat

Package Overview
Dependencies
Maintainers
20
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@manifoldco/shadowcat

Invisible web component auth implementation of Manifold's PUMA

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-50%
Maintainers
20
Weekly downloads
 
Created
Source

shadowcat

Invisible web component auth implementation of Manifold's PUMA <https://github.com/manifoldco/puma>

Usage

  1. npm i @manifoldco/shadowcat
  2. Import and register the manifold-oauth web component:
import { defineCustomElements } from '@manifoldco/shadowcat/dist/loader';

defineCustomElements(window);
  1. Add the following code anywhere on your website/app to get an auth token:
<manifold-oauth oauth-url="[your-oauth-url]"></manifold-oauth>
  1. Listen for the event tokenReceived:
document.addEventListener("tokenReceived", e => {
  console.log(e.detail); // received token
  // do stuff...
});

Dev Setup

  1. npm install to install dependencies.
  2. npm start to start the development server.
  3. Go to localhost:3333. The development server will display a blank page.
  4. Open the console. There will be a message/token logged.

Publish to npm

Code of Conduct | Contribution Guidelines

GitHub release

Travis

License

FAQs

Package last updated on 10 Jul 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