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

@byteraven/screening-ai

v0.1.2

Published

A TypeScript SDK for the Screening AI API

Readme

Screening AI Typescript API Client

npm version License: MIT CI/CD Pipeline

The ScreeningAI client SDK is a powerful and user-friendly TypeScript library designed to interact with the ScreeningAI platform. It provides seamless integration with APIs for managing screening jobs, templates, and submissions, making it easy to build and scale HR and talent management solutions.

Table of Contents


Features

  • Screening Jobs Management: Create, retrieve, and manage screening jobs for your organization.
  • Screening Templates: Design and manage reusable screening templates.
  • Screening Submissions: Manage submissions, convert audio to text, and create stream rooms for live interviews.
  • Built-in Error Handling: Clear error messages and exceptions for a smooth developer experience.

Installation

Install the library via npm or yarn:

npm install screening-ai-sdk

or

yarn add screening-ai-sdk

Getting Started

Follow these steps to set up and use the ScreeningAI client in your project:

1. Import the SDK

import { ScreeningAI } from "screening-ai-sdk";

2. Initialize the Client

Create an instance of the ScreeningAI class with your API key: Note - You can keep basePath empty if you are using ByteRaven managed Screening Server, you can provide your own managed server URL too.

const screeningAI = new ScreeningAI({
  orgApiKey: "your-organization-api-key",
  basePath: "https://api.your-screening-platform.com", // Optional, defaults to an empty string
});

3. Use the API Methods

Example: Creating a screening job.

import { PlatformCreateScreeningJobDto } from "screening-ai-sdk/src/models";

const newJob: PlatformCreateScreeningJobDto = {
  title: "Software Engineer Screening",
  description: "Screening job for evaluating software engineering candidates",
  // Add other required fields here
};

async function createJob() {
  try {
    const job = await screeningAI.createScreeningJob(newJob);
    console.log("Created Job:", job);
  } catch (error) {
    console.error("Error:", error.message);
  }
}

createJob();

API Documentation

Screening Jobs API

Create a Screening Job

screeningAI.createScreeningJob(platformCreateScreeningJobDto: PlatformCreateScreeningJobDto): Promise<PlatformScreeningJobResponseDto>

Creates a new screening job.

Get a Screening Job by ID

screeningAI.getScreeningJobById(screeningJobId: string): Promise<PlatformScreeningJobResponseDto>

Fetches details of a screening job using its ID.

Get All Screening Jobs of an Organization

screeningAI.getScreeningJobsOfOrg(): Promise<PlatformScreeningJobListResponseDto>

Retrieves a list of all screening jobs associated with your organization.


Screening Templates API

Create a Screening Template

screeningAI.createScreeningTemplate(createScreeningTemplateDto: CreateScreeningTemplateDto): Promise<void>

Creates a reusable template for screening.

Generate Questions for a Template

screeningAI.generateScreeningTemplateQuestions(generateScreeningTemplateQuestionsDto: GenerateScreeningTemplateQuestionsDto): Promise<void>

Generates a list of questions based on the template.

Get All Screening Templates

screeningAI.getScreeningTemplates(): Promise<GetAllPlatformScreeningTemplatesOfOrgResponseDto>

Fetches all templates associated with your organization.


Screening Submissions API

Convert Audio to Text

screeningAI.convertAudioToText(
  orgId: string,
  screeningSubmissionId: string,
  index: number,
  file: Blob,
  fileType: string
): Promise<PlatformScreeningSubmissionTextFromAudioResponseDto>

Converts an audio file to text for a specific submission.

Create a Screening Submission

screeningAI.createScreeningSubmission(createPlatformScreeningFormSubmissionDto: CreatePlatformScreeningFormSubmissionDto): Promise<CreatePlatformScreeningSubmissionResponseDto>

Creates a new screening submission.

Get Screening Submissions of an Organization

screeningAI.getScreeningSubmissionsOfOrg(getPlatformScreeningSubmissionsOfOrgDto: GetPlatformScreeningSubmissionsOfOrgDto): Promise<PlatformScreeningSubmissionListResponseDto>

Fetches submissions for the organization.


Error Handling

All methods in the SDK provide built-in error handling. Errors are logged to the console with a descriptive message. Example:

try {
  const job = await screeningAI.createScreeningJob(newJob);
} catch (error) {
  console.error("Error creating screening job:", error.message);
}

Contributing

We welcome contributions! Please follow the guidelines in the CONTRIBUTING.md file.


License

This project is licensed under the MIT License. See the LICENSE file for details.