Socket
Socket
Sign inDemoInstall

agastya

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    agastya

Web accessibility made simple


Version published
Weekly downloads
10
increased by900%
Maintainers
1
Install size
571 kB
Created
Weekly downloads
 

Readme

Source

♿ Agastya

Travis CI Dependencies Dev dependencies License Vulnerabilities Bundle size

📦 Get Started

yarn add agastya
// Import or require Agastya
import Agastya from "agastya";

// Initialize Agastya with your API key
const agastya = new Agastya("API_KEY");

Optionally, you can use a specific channel:

const agastya = new Agastya("API_KEY", "production"); // Production (default)
const agastya = new Agastya("API_KEY", "beta"); // Beta (stable)
const agastya = new Agastya("API_KEY", "dev"); // Nighly/development (breaking changes)

You can also use the official CDN instead:

<script async src="https://platform.oswaldlabs.com/_/API_KEY.js"></script>

Once you've created the Agastya object, you can start using the API:

agastya.open(); // Open the Agastya widget
agastya.api("enableMode", "read-aloud"); // Start read aloud mode
agastya.secureTrack({ hello: "world" }); // Track a custom event

API Documentation

FAQs

Last updated on 11 Jun 2019

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