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

quick-deployer-sdk

v1.0.0

Published

A TypeScript SDK for the QuickDeployer API, supporting frontend and backend applications.

Readme

Node QuickDeployer TypeScript SDK

The QuickDeployer TypeScript SDK enables developers to interact with the QuickDeployer API in both Node.js (backend) and browser (frontend) environments. It provides a type-safe interface for managing projects and servers, with robust error handling and modern JavaScript features.

Features

  • Manage projects (list, get, create, update, delete).
  • Manage servers within projects (list, get, create, update, delete, check status).
  • TypeScript support for type safety and IDE autocompletion.
  • Compatible with Node.js and browser environments.
  • Unit tests with Jest for reliability.

Requirements

  • Node.js >= 18.0.0 (for native fetch support)
  • TypeScript >= 5.4.5
  • A QuickDeployer API key

Installation

Install the SDK via npm:

npm install node-quick-deployer-sdk

If the SDK is not published, clone the repository and install locally:

git clone https://github.com/niravsutariya/node-quick-deployer-sdk.git
cd node-quick-deployer-sdk
npm install
npm run build

Usage

Initializing the Client

import { Client } from 'node-quick-deployer-sdk';

const apiKey = 'your-api-token';
const client = new Client(apiKey, { baseUrl: 'https://api.quickdeployer.com/api' });

Managing Projects

List Projects

const projects = await client.projects().list();
console.log(projects); // [{ id: 'project-123', name: 'Test Project' }, ...]

Get a Project

const project = await client.projects().get('project-123');
console.log(project.name); // Test Project

Create a Project

const newProject = await client.projects().create({ name: 'New Project' });
console.log(newProject.id); // project-456

Update a Project

const updatedProject = await client.projects().update('project-123', { name: 'Updated Project' });
console.log(updatedProject.name); // Updated Project

Delete a Project

await client.projects().delete('project-123');
console.log('Project deleted');

Managing Servers

List Servers

const servers = await client.servers('project-123').list();
console.log(servers); // [{ id: 'server-456', name: 'Test Server' }, ...]

Get a Server

const server = await client.servers('project-123').get('server-456');
console.log(server.name); // Test Server

Create a Server

const newServer = await client.servers('project-123').create({ name: 'New Server', type: 'web' });
console.log(newServer.id); // server-789

Update a Server

const updatedServer = await client.servers('project-123').update('server-456', { name: 'Updated Server' });
console.log(updatedServer.name); // Updated Server

Delete a Server

await client.servers('project-123').delete('server-456');
console.log('Server deleted');

Check Server Status

const status = await client.servers('project-123').checkStatus('server-456');
console.log(status.status); // online

Error Handling

Use try-catch for API errors:

try {
    const projects = await client.projects().list();
} catch (error) {
    console.error('Error:', error.message);
}

Configuration

  • API Key: Obtain from the QuickDeployer dashboard.
  • Base URL: Defaults to https://staging.quickdeployer.com/api. Override via Client options.

Building for Frontend

For browser usage, bundle the SDK with a module bundler (e.g., Webpack, Vite):

npm run build

Ensure your bundler targets ES Modules and includes fetch (available in modern browsers).

Testing

Run unit tests with Jest:

npm test

Tests are located in the tests/ directory and cover Client, ProjectResource, and ServerResource.

Contributing

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/your-feature).
  3. Commit changes (`git commit -m "Add feature"').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

Include tests and follow TypeScript/ESLint coding standards.

License

MIT License. See LICENSE for details.

Support

Open issues on GitHub or contact [email protected].