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 🙏

© 2025 – Pkg Stats / Ryan Hefner

transactapi-js

v0.3.9

Published

Javascript SDK for Transact API services.

Readme

TransactAPI Javascript SDK

This is a library javascript wrapper functions for endpoints as specified in the documentation of Transact API, provided by North Capital Private Securities (NCPS).

TransactAPI is a RESTful API that enables broker-dealers, funding platforms, and issuers to conduct online private securities offerings. Our standards-based API toolkit can be quickly and easily integrated with proprietary platforms, saving development time and money. Issuers, intermediaries, and advisors can benefit from TransactAPI’s straight-through processing of private placement transactions, which enables higher transaction volumes, expands access to investors, and reduces processing times.

Author's Notes

This is in no way an official SDK provided by the company itself. However, since I use a lot of javascript in my daily work life, I figured I could create a library and share it with others in a more open-source format.

For those who wish to help during Hacktoberfest (or any time else!), please submit a PR. Check the contribution section for more information.

Setup

You will need to acquire both a clientID and developerAPIKey from NCPS - this happens when you subscribe to them as a customer of their services.

Each API endpoint will require both in order to get the response to fully work.

Installation

npm install transactapi-js --save
yarn add transactapi-js
pnpm add transactapi-js

Usage

// Javascript, CJS
const transactapi = require("transactapi-js");

(function () {
  const getAccount = transactapi.getAccount;
  const payload = {
    clientID: "",
    developerAPIKey: "",
    accountId: "",
  };
  getAccount(payload).then((account) => {
    const name = account.accountName;
    console.log(name);
  });
})();
// Javascript, ES6
import getAccount from "transactapi-js/getAccount";

async () => {
  const payload = {
    clientID: "",
    developerAPIKey: "",
    accountId: "",
  };
  const account = await getAccount(payload);
  const name = account.accountName;
  console.log(name);
};
// Typescript
import getAccount, { GetAccountPayload } from "transactapi-js/getAccount";

(async () => {
  const payload: GetAccountPayload = {
    clientID: "",
    developerAPIKey: "",
    accountId: "",
  };
  const account = await getAccount(payload);
  const name = account.accountName;
  console.log(name);
})();

How to Contribute

Take a look at the documentation, find which endpoint hasn't been covered yet. Normally, you will want to do the following on github:

  1. Open an issue

  2. Open a pull request addressing the issue

  3. Create a folder in /src with the name of the ENDPOINT. Create the following files:

    • /src/ENDPOINT/index.ts - function file to call the api endpoint
    • /src/ENDPOINT/index.spec.ts - test file to mock the api calls
    • /src/ENDPOINT/types.ts - types file just for this specific endpoint
    • /src/ENDPOINT/enums.ts - enums file (optional)
  4. Once all the lints/tests pass locally, edit package.json and bump the version number (e.g. 0.0.1 -> 0.0.2).

  5. Await the PR to be approved!