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

blaze-engineer

v1.0.7

Published

Blaze Engineer JavaScript/NodeJS Client Library.

Downloads

8

Readme

Blaze Engineer Node.js Client

Easily interact with the Blaze Engineer - API, your AI-powered code engineering platform. in Node.js applications.

This package provides a modern, promise-based Node.js class for rapid automation, scripting, and integration with Blaze Engineer - API for GitOps, Code Automation, and CI/CD.


Features

  • Simple, modern API: All Blaze Engineer API endpoints, with auto-caching of your auth token
  • Promise-based: Async/await for all methods
  • Handles authentication: Login/signup sets and manages your Bearer token
  • Returns all response data: Including error messages, so you can handle errors your way
  • No dependencies: Uses Node.js’s native fetch (Node 18+)

Install

npm install blaze-engineer

Quickstart

import { BlazeEngineer } from 'blaze-engineer';

const blaze = new BlazeEngineer();

// 1. Signup (or login)
await blaze.signup('[email protected]', 'MySecretPassword', 'YOUR_BETA_KEY');
// or: await blaze.login('[email protected]', 'MySecretPassword');

// 2. Add SSH Key
await blaze.addKey('My SSH Key', 'PRIVATE_KEY_HERE');

// 3. Add a Repo
await blaze.addRepo('MyRepo', '[email protected]:user/repo.git', 'keyID_here');

// 4. Run a Job
const job = await blaze.runJob({ repoID: 'repoID_here', branch: 'main', task: 'analyze' });

// 5. View Jobs
const jobs = await blaze.listJobs();

console.log(jobs);

API

Every method returns the raw JSON response from the Blaze Engineer API, including the error field if one occurs.

Users

| Method | Description | | ---------------------------------- | -------------------------------------------------------------------------- | | signup(email, password, betaKey) | Sign up for a new user account; requires a beta key; stores returned token | | login(email, password) | Log in as existing user; stores returned token |

Keys

| Method | Description | | ------------------- | ---------------------- | | addKey(name, key) | Add an SSH private key | | removeKey(id) | Remove a key by ID | | listKeys() | List all added keys |

Repos

| Method | Description | | ------------------------------ | ------------------------- | | addRepo(name, sshURL, keyID) | Add a new repository | | removeRepo(id) | Remove a repository by ID | | listRepos() | List all repositories |

Jobs

| Method | Description | | ------------------------------------------ | ---------------- | | runJob({repoID, branch, task, webhook?}) | Start a job | | stopJob(jobID) | Stop a job | | rerunJob(jobID) | Rerun a job | | viewJob(id) | View a job by ID | | listJobs() | List all jobs |

Tokens

| Method | Description | | ----------------- | ----------------------------------------------------- | | addToken(name) | Add a new token (returns token and tokenID) | | removeToken(id) | Remove a token by ID | | viewToken(id) | View a token by ID (returns id, name, and token) | | listTokens() | List all tokens (each has id, name, and token fields) |

MasterFiles

| Method | Description | |-------------------------------| -------------------------------------------- | | editMasterFile(id, content) | Edit a master file's content | | viewMasterFile(id) | View a master file by ID | | listMasterFiles(repoID) | List all master files for a given repository |

Credits

| Method | Description | | --------------- | --------------------------- | | viewCredits() | View your available credits |


Error Handling

If an API response contains an error field, it is returned as part of the response. The class never throws on API errors—handle them as you need:

const res = await blaze.addRepo('BadName', 'badurl', 'badkey');
if (res.error) {
  console.error('Blaze Engineer error:', res.error);
}

Requirements


License

UNLICENSED


Links