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 🙏

© 2026 – Pkg Stats / Ryan Hefner

mtl-autonote-web

v1.0.1

Published

AutoNote SDK

Readme

AutoNote Web SDK

AutoNote Web SDK is a JavaScript library that enables real-time transcription and automated medical report generation from doctor-patient conversations. It uses Voice Activity Detection (VAD) to record and process speech, then generates structured medical reports.

Installation

npm install mtl-autonote-web

Features

  • Real-time voice activity detection
  • Automatic transcription of doctor-patient conversations
  • Generation of structured medical anamnesis reports
  • Configurable speech detection parameters

Usage

Basic Implementation

import AutoNote from 'mtl-autonote-web';

const autoNoteInstance = new AutoNote({
  baseUrl: 'YOUR_API_BASE_URL',
  email: 'YOUR_EMAIL',
  password: 'YOUR_PASSWORD'
});

// Set up callback for receiving the report
autoNoteInstance.getReportResult((result) => {
  console.log('Transcription:', result.transcription);
  console.log('Report:', result.report);
});

// Start recording
autoNoteInstance.startRecording();

// Later, stop recording and generate report
autoNoteInstance.stopRecording();

API Reference

AutoNote(options)

Initializes the AutoNote SDK and returns functions to control recording and report generation.

Parameters

| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | baseUrl | string | Yes | - | Base URL for the API endpoint | | email | string | Yes | - | Authentication email | | password | string | Yes | - | Authentication password | | positiveSpeechThreshold | number | No | 0.45 | Threshold for detecting speech (0.0-1.0) | | negativeSpeechThreshold | number | No | 0.25 | Threshold for detecting non-speech (0.0-1.0) | | redemptionFrames | number | No | 20 | Number of frames to wait before ending speech detection | | frameSamples | number | No | 1536 | Number of audio samples per frame | | preSpeechPadFrames | number | No | 2 | Number of frames to include before speech is detected | | minSpeechFrames | number | No | 2 | Minimum number of frames required to register as speech |

Returns

An object containing the following methods:

| Method | Description | |--------|-------------| | startRecording() | Begins capturing audio through the microphone | | stopRecording() | Stops recording and processes the captured audio | | getReportResult(callback) | Sets a callback to receive the transcription and report results |