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

netsuite-integration-library

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netsuite-integration-library

This is library simplifies and retrieving and updating records in NetSuite.

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

NetSuite Integration Library

This is library simplifies and retrieving and updating records in NetSuite.

The library handles authentication by reading the credentials from from the following environmental variables.

  • NETSUITE_ACCOUNT_ID
  • NETSUITE_SUBDOMAIN

DO NOT PUT THE FOLLOWING VALUES DIRECTLY IN YOUR CODE AND NEVER CHECK THEM IN FOR SECURITY REASONS

  • NETSUITE_CONSUMER_KEY
  • NETSUITE_CONSUMER_SECRET
  • NETSUITE_TOKEN
  • NETSUITE_TOKEN_SECRET

Installation:

Note this may require you to enter your Atlassian credentials the first time.

npm install git+https://adlm.nielsen.com/bitbucket/scm/byz/netsuite-wrapper-api.git

Usage:

import netsuite from 'netsuite-wrapper-api';

netsuite.getCustomers().then(customers => {
    console.log(customers)
});

Potential Errors

  • If you are getting a 401 error, it is probably because you have the wrong value for NETSUITE_SUBDOMAIN or NETSUITE_ACCOUNT_ID.

FAQs

Package last updated on 13 Jul 2022

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