New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@bipsync/apiclient

Package Overview
Dependencies
Maintainers
8
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bipsync/apiclient

Bipsync API Client

latest
npmnpm
Version
1.0.4
Version published
Maintainers
8
Created
Source

Installation

npm install @bipsync/apiclient

Examples

Getting the latest notes

example.js

require( '@bipsync/apiclient' )()
    .then( function( client ) {
        // make a request to the research api
        client.request( 'v1/research' )
            .then( function( response ) {
                // grab the results
                return response.results;
            } )
            .map( function( research ) {
                // print the title for each document
                console.log( research.title );
            } ); } );

run it

$ node example.js // --options='{"property":"value"}'
latest note title #1
latest note title #2
latest note title #3
...

using the OAuth device code grant to authenticate

When running reports locally OAuth can be used to authenticate:

$ node example.js --deviceAuth // --options='{"property":"value"}'
OAuth app ID (https://alpha-api.bipsync.devenv): 
Visit the following URL in your browser to approve this request and obtain an access token:
https://alpha.bipsync.devenv/oauth/device?user_code=KGNRKXVB
latest note title #1
latest note title #2
latest note title #3
...

You will be prompted to visit a web app URL to approve the request. Once authorized the API client will retrieve a short-lived access token from the API and make it available to the report.

Keywords

bipsync

FAQs

Package last updated on 09 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts