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

ashbyhq

v1.0.1

Published

TypeScript client for AshbyHQ API

Readme

AshbyHQ API Client

A TypeScript client library for interacting with the AshbyHQ API. This client provides a type-safe way to interact with Ashby's recruitment and applicant tracking system API.

Features

  • 🔒 Type-safe API interactions
  • 📦 Modern TypeScript/JavaScript support
  • 🚀 Promise-based async/await interface
  • 📝 Comprehensive type definitions
  • 🛠️ Built with Axios for reliable HTTP requests

Installation

npm install ashbyhq-client
# or
yarn add ashbyhq-client

Project Structure

src/
├── client/     # Core client implementation
├── enums/      # Enumeration types
├── services/   # Service-specific implementations
├── types/      # TypeScript type definitions
└── index.ts    # Main entry point

Usage

import { AshbyClient } from 'ashbyhq-client';

// Initialize the client with API key
const client = new AshbyClient({
  auth: {
    apiKey: 'your_api_key_here'
  }
});

// Or initialize with username and password
const clientWithCredentials = new AshbyClient({
  auth: {
    username: 'your_username',
    password: 'your_password'
  }
});

// Optional configuration
const clientWithConfig = new AshbyClient({
  auth: {
    apiKey: '' // Token auth
    username: '', //  Basic Auth
    password: '',  //  Basic Auth
  },
  baseURL: 'https://api.ashbyhq.com', // Optional: defaults to this URL
  timeout: 10000,                      // Optional: defaults to 10000ms
  headers: {                           // Optional: additional headers
    'Custom-Header': 'value'
  }
});

// Create a new candidate
const createCandidate = async () => {
  const candidate = await client.candidate.create({
    firstName: 'John',
    lastName: 'Doe',
    email: '[email protected]',
    title: 'Software Engineer',
    company: 'Previous Company',
    location: 'New York, NY'
  });
  
  console.log('Created candidate:', candidate);
};

API Reference

Candidates

candidate.create(input: CreateCandidateInput): Promise<CandidateResponse>

Creates a new candidate in Ashby.

Input Parameters
  • firstName (required): Candidate's first name
  • lastName (required): Candidate's last name
  • email (optional): Candidate's email address
  • phone (optional): Candidate's phone number
  • title (optional): Candidate's current title
  • company (optional): Candidate's current company
  • location (optional): Candidate's location
  • linkedInUrl (optional): Candidate's LinkedIn profile URL
  • githubUrl (optional): Candidate's GitHub profile URL
  • portfolioUrl (optional): Candidate's portfolio URL
  • source (optional): Source of the candidate
  • notes (optional): Additional notes about the candidate
  • customFields (optional): Any custom fields defined in your Ashby instance

Development

To build the project:

npm run build

To run tests:

npm test

Dependencies

  • axios: HTTP client for making API requests
  • typescript: For type definitions and compilation
  • ts-node: For running TypeScript files directly

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

Security

⚠️ Never commit your API key to version control. Always use environment variables or secure secret management solutions.

Support

For issues and feature requests, please open an issue on the GitHub repository.