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

@xtellig/autosocializer

v1.0.0

Published

The official Node.js SDK for streaming backend server data directly to Autosocializer boards, triggering automated workflows with zero manual intervention

Readme

@xtellig/autosocializer

Official SDK for the Autosocializer platform, by Xtellig.

Create SeamlessBoard records via GraphQL with a small, typed client — including multipart file attachments.

MIT licensed · Node.js ≥ 18


Install

npm install @xtellig/autosocializer

Quick start

import { SeamlessBoardApi } from "@xtellig/autosocializer";

const api = new SeamlessBoardApi({
  url: "https://xtellig.autosocializer.com/api/graphql-endpoint",
  apiKey: "TOKEN",
});

const res = await api.addRecord({
  section: "67a448a8c78d6c21598d67d5",
  data: {
    priority_select_jlaFEbose: "High",
    gender_select_BgSd_OMKS: "Male",
    marks_number_4LbncDrii: 83,
    number_field_number_s6ECxMbr3: 74,
    email_email_GOv6dM7VF: "[email protected]",
    due_date_date_g8DAgJjta: "2025-12-28T22:16:48.102Z",
  },
});

console.log(res._id);

Attachments / file fields

Attachment fields cannot be sent as plain JSON. Wrap file bytes with file() — the client switches to GraphQL multipart FormData automatically.

Content-type is optional. When omitted, it is inferred from the filename (fallback: application/octet-stream).

import { readFileSync } from "node:fs";
import { SeamlessBoardApi, file } from "@xtellig/autosocializer";

const api = new SeamlessBoardApi({
  url: "https://xtellig.autosocializer.com/api/graphql-endpoint",
  apiKey: "TOKEN",
});

const resume = file(readFileSync("./cv.pdf"), "cv.pdf");
// or with an explicit MIME type:
// const resume = file(buffer, "cv.pdf", "application/pdf");

const res = await api.addRecord({
  section: "67a448a8c78d6c21598d67d5",
  data: {
    email_email_GOv6dM7VF: "[email protected]",
    resume_attachment_FIELD_ID: resume,
    // multiple files on one field:
    // documents_attachment_FIELD_ID: [file(buf1, "a.pdf"), file(buf2, "b.png")],
  },
});

file() accepts Buffer, Uint8Array, ArrayBuffer, or Blob.


Server-only (this release)

SeamlessBoardApi.addRecord is blocked in the browser. Call it from Node.js (or another server runtime). If invoked in a browser it throws BrowserEnvironmentError.

Future package features may be browser-allowed; the environment guard is applied per feature, not globally.


API reference

new SeamlessBoardApi(config)

| Param | Type | Description | | --------------- | -------- | ---------------------------------------- | | config.url | string | GraphQL endpoint URL | | config.apiKey | string | Access token (Authorization: Bearer …) |

api.addRecord(input)

| Param | Type | Description | | --------------- | ------------ | ------------------------------ | | input.section | string | Board section ID | | input.data | RecordData | Field values keyed by field ID |

Returns: Promise<{ _id: string; no: number; }>

file(content, filename, contentType?)

Marks binary content as an attachment for multipart upload.

Errors

| Class | When | | ------------------------- | -------------------------------------------- | | ApiError | HTTP or GraphQL failure (status, errors) | | BrowserEnvironmentError | Server-only feature called in a browser | | AutosocializerError | Base class for the above |

import { SeamlessBoardApi, ApiError } from "@xtellig/autosocializer";

try {
  await api.addRecord({
    section: "…",
    data: {
      /* … */
    },
  });
} catch (err) {
  if (err instanceof ApiError) {
    console.error(err.status, err.errors);
  } else {
    throw err;
  }
}

TypeScript types

All types are exported for use in your own code:

| Type | Description | | ------------------------ | --------------------------------------------- | | SeamlessBoardApiConfig | Constructor config (url, apiKey) | | AddRecordInput | { section, data } passed to addRecord | | AddRecordResult | { _id } returned by addRecord | | RecordData | Field values keyed by field ID | | RecordValue | A scalar, one FileUpload, or FileUpload[] | | ScalarValue | string \| number \| boolean \| null | | FileUpload | Marker returned by file() | | FileContent | Accepted input for file() content |


Requirements

  • Node.js ≥ 18 (uses global fetch, FormData, Blob)
  • A valid Autosocializer Access Token

License

MIT © Xtellig