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

@pacely/poweroffice-node

v1.0.1

Published

API Client for PowerOffice Go. Supports API v2

Readme

@pacely/poweroffice-node (Unofficial)

A JS client for interacting with the PowerOffice API. Supports versjon 2.0 of the API and is designed to be used in Node.js environments.

To get an API key, you need to create an application in PowerOffice and obtain the necessary keys (appKey, clientKey, subscriptionKey). You can find more information on how to do this in the PowerOffice documentation.

Features

  • Simple and intuitive API for PowerOffice integration
  • Supports authentication and common PowerOffice endpoints
  • Written in TypeScript

Installation

pnpm add @pacely/poweroffice-node

Usage

import dotenv from 'dotenv'; // Ensure you have dotenv installed and configured
import PowerOffice from '@pacely/poweroffice-node';

dotenv.config(); // Load environment variables from .env file

const client = new PowerOffice({
    appKey: process.env.POGO_APP_KEY,
    clientKey: process.env.POGO_CLIENT_KEY,
    subscriptionKey: process.env.POGO_SUBSCRIPTION_KEY,
    dev: true // Replace with false for production
});

async function main() {
    await client.authenticate();
    const companies = await client.getCompanies();
    console.log(companies);
}

main();

API

new PowerOffice(options)

  • appKey (string): Your PowerOffice application key
  • clientKey (string): Your PowerOffice client key
  • subscriptionKey (string): Your PowerOffice subscription key
  • dev (boolean): Set to true for development mode, false for production

authenticate()

Authenticate with the PowerOffice API.

Access services

All services are available as methods on the PowerOffice instance. You can access each service by their respective names. For example:

// Sales Orders 
// https://goapi.poweroffice.net/v2/SalesOrders
const salesOrders = await client.salesOrders();

// Customers
// https://goapi.poweroffice.net/v2/Customers
const customers = await client.customers();

// Etc...

Each service has their own methods for interacting with the PowerOffice API. Refer to the source code for detailed method signatures and usage.

// Initialize Sales Orders
const salesOrders = await client.salesOrders(); // Replace '12345' with actual sales order ID

// Get a specific sales order
const salesOrder = await salesOrders.salesOrder.getSalesOrderById({
    id: '12345'
});

console.log(salesOrder);

Read PowerOffice API documentation for more details on available endpoints and parameters.

License

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

Contributing

Contributions are welcome! Please read the CONTRIBUTING.md for details on how to contribute to this project.