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

loopback-connector-quickbooks

v0.4.5

Published

Loopback connector to provide easy RESTful access to QuickBooks Desktop data via QBWebConnector

Readme

loopback-connector-quickbooks

This connector is currently under development and should not be used in production, get involved and help us speed up development by taking a look at the TODO section

The purpose of this connector is to act as the middle and end man in the process of communication to QuickBooks Web Connector used to communicate to QuickBooks Desktop software. Traditionally QuickBooks Web Connector requires a SOAP server to send and receive XML requests to view, create or update QuickBooks data. This connector has a built in SOAP server built in. The connector itself is responsible intaking a traditional RESTful API request, and using the SOAP service to communicate it to the QuickBooks Web Connector.

Thank you

Big thanks to johnballantyne. The built in SOAP service is based upon his implementation of Node.js QBWebConnector service with modifications to support dynamic queries.

Another big thanks goes to the creator of the project quickbooks-php, Keith Palmer from ConsoliBYTE, LLC. Without his guidance on an issue i had when implementing the Mod and Add operations i would have pulled my hair out and OD'd on coffee. The project quickbooks-php and their usage of schema files for validation was a key part to this connector

How it Works

Once you have installed the connector and added the datasource the rest is magic. Since QuickBooks data is not schemaless the connector is in charge of automatically building all required Loopback Models, meaning right out of the box once you serve up your API you will have access to Customers, UnitOfMeasureSets, Employees and many more (full list bellow). Upon serving your API all the data from QuickBooks will be available to query. You can use the reSync() method to ask QuickBooks for updated data.

Install connector from NPM

npm install loopback-connector-quickbooks --save

Configuring QuickBooks connector

Edit datasources.json and add:

 "quickbooksService": {
    "name": "quickbooksService",
    "connector": "loopback-connector-quickbooks",
    "username": "qbuser",
    "password": "pas***rd1234"
    "companyFile": "C:\\Users\\Public\\Documents\\Intuit\\QuickBooks\\Company Files\\NodeGeeks LLC.qbw",
    "enableServiceLog": true,
    "config": {
      "verbosity": 2
    }
  }

Settings:

  • name: The name of the datasource must be quickbooksService
  • username: Username used in the .QWC file created for your server
  • password: Password set in QuickBooks Web Connector
  • companyFile: Directory on your local machine where your QuickBooks company file is located
  • enableServiceLog: Enabled debug logging, this coupled with the config.verbosity determines how deep logging is enabled

TODO

  • [ ] Create tests for all 3 request ops (Query, Mod, Add) using Customer (QB List object) and Estimate (QB Transaction object). A complete test of every QuickBooks Object and Operations for those Objects should eventually be created.
  • [ ] Cleanup code and add comments throughout the project to better document the code.
  • [ ] Add dual QuickBooks API support, currently only Desktop is supported, the QB Online API should also be added.
  • [ ] Currently the Employee Object extends User to allow for Employee login via Loopbacks User Model, a couple of things should be done when creating the Model, first ACL policies must be implemented, and second we need to automate the process in which they choose a password for there Employee record, thus also automating determining what permissions/roles that Employee may or may not have.
  • [ ] Refactor QBWebService.reSync to support to determine if each index value in models param is a string for a simple query or if it is an object with a filter property that defines a more advanced query.

Because this is a Loopback Connector this project is to conform the coding style, commit message and terminology guidelines provided by Loopback

  • [ ] Refactor to inherit Loopbacks Coding Style guidelines
  • [ ] Create CONTRIBUTING.md file to set contributing guidelines and agreement

new todo's will be added periodically and until this is closed and this loopback-connector is marked ready for production.