Node.js client library for SynapseFI REST API v3.1, built with TypeScript for improved developer experience. Current version is 2.0.0-beta.11, released as a major version rewrite that is backward compatible. Supports both sandbox and production environments, with key management via environment variables. Differentiators include TypeScript support (first-party types), Promise-based async operations, and comprehensive coverage of SynapseFI's payments and financial APIs. Release cadence is beta-phase with ongoing updates.
npm install synapsenodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a Synapse Client in sandbox mode using environment variables and creates a new user.
Test extensively in sandbox before upgrading from v1.x.
Use const { Client } = require('synapsenode') or import { Client } from 'synapsenode'.Create .env file with required variables or pass them directly to client constructor.
Default to false (sandbox) for development.
Use const { Client } = require('synapsenode') or import { Client } from 'synapsenode'.Call require('dotenv').config() and ensure .env file exists.Regenerate credentials from SynapseFI dashboard.