npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

guideio

v0.1.0

Published

Highly accessible React form component with voice input and interviewer mode.

Readme

AdvancedForm React Component

A highly accessible, modular React form component that enables each input field to accept both voice input (via the browser's Speech Recognition API) and, in the future, sign language input via camera. Includes an "interviewer" mode for guided, voice-driven form filling. Designed for ease of integration and maximum accessibility.


Features

  • Voice Input: Each input field can be filled using your voice. Special symbol words (e.g., "at the rate" → @) are automatically mapped.
  • Interviewer Mode: Prompts the user for each field in order, using voice, and automatically submits the form when all fields are valid.
  • Accessibility: Designed for blind and visually impaired users. Voice instructions and keyboard navigation are built-in.
  • Visual Feedback: Shows a pulsing microphone icon and message when the form is listening for voice input.
  • Validation: If a field fails validation (e.g., email format), the user is re-prompted for that field until valid.
  • Easy Integration: Wrap your form fields with <AdvancedForm> and use as a drop-in replacement for your forms.

Installation

npm install guideio

Usage

import React, { useState } from 'react';
import AdvancedForm from 'guideio';

export default function SignupForm() {
  const [form, setForm] = useState({
    name: '',
    email: '',
    password: '',
    confirmPassword: ''
  });
  const [error, setError] = useState('');
  const [success, setSuccess] = useState('');

  const handleChange = (e) => {
    setForm({ ...form, [e.target.name]: e.target.value });
    setError('');
    setSuccess('');
  };

  const handleSubmit = (e) => {
    e.preventDefault();
    if (!form.name || !form.email || !form.password || !form.confirmPassword) {
      setError('All fields are required.');
      return;
    }
    if (form.password !== form.confirmPassword) {
      setError('Passwords do not match.');
      return;
    }
    setSuccess('Signup successful!');
  };

  return (
    <AdvancedForm>
      <input
        type="text"
        name="name"
        placeholder="Full Name"
        value={form.name}
        onChange={handleChange}
        required
      />
      <input
        type="email"
        name="email"
        placeholder="Email Address"
        value={form.email}
        onChange={handleChange}
        required
      />
      <input
        type="password"
        name="password"
        placeholder="Password"
        value={form.password}
        onChange={handleChange}
        required
      />
      <input
        type="password"
        name="confirmPassword"
        placeholder="Confirm Password"
        value={form.confirmPassword}
        onChange={handleChange}
        required
      />
      {error && <div style={{ color: 'red', marginBottom: 8 }}>{error}</div>}
      {success && <div style={{ color: 'green', marginBottom: 8 }}>{success}</div>}
      <button type="submit">Sign Up</button>
    </AdvancedForm>
  );
}

Props

| Prop | Type | Description | |-----------|--------------|----------------------------------------------| | children | ReactNode | Input fields and submit button to wrap. |


How It Works

  • Voice Input: Click the mic button (appears on input hover/focus) to start voice input for that field. Speak your input, including special symbols by their names (e.g., "at the rate" for @).
  • Interviewer Mode: Click "Start Voice Interview". The form will prompt you for each field in order, listen for your response, validate, and move to the next. If a field is invalid, you will be re-prompted.
  • Visual Feedback: When the form is listening, a large pulsing mic icon and message appear above the form.
  • Accessibility: Voice instructions are read on mount. Keyboard navigation (Tab/Enter) is supported.

Accessibility

  • Screen reader friendly: Voice instructions and ARIA labels.
  • Keyboard navigation: Tab/Enter to move between fields.
  • Visual and voice cues for all actions.

Browser Compatibility

| Feature | Chrome | Edge | Firefox | Safari | Mobile Chrome | Mobile Safari | |------------------------|:------:|:----:|:-------:|:------:|:-------------:|:-------------:| | Voice Input (Web Speech API) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | Keyboard Navigation | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | Visual Feedback | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |

*Firefox: Voice input support is experimental and may require enabling flags. Safari: Voice input works on recent versions (macOS/iOS 14+).


Roadmap

  • [upcoming] Sign language input via camera
  • [upcoming] More customization options
  • [upcoming] Internationalization/localization

License

MIT © 2025 Ankit Biswas


This project was bootstrapped with Vite's React TypeScript template.