Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@twec/netsuite-client
Advanced tools
Generic functionality for connecting to NetSuite Web Services from Node
(Node + NetSuite)
This package contains functionality for connecting to NetSuite Web Services from Node, handling token authorization and SOAP XML parsing, and allows fetching records and uploading files.
npm install @twec/netsuite-client
const NetSuiteClient = require('netsuite-client');
// or: import NetSuiteClient from 'netsuite-client';
When instatiating your netsuite object, you'll need to provide a config object with connection details. See netsuite-auth-config-template.json.
const netSuiteConfig = {
// various properties
// see netsuite-auth-config-template.json
// or the defaultConfig in netsuite-client.js
};
const netsuiteClient = new NetSuiteClient(netsuiteAuthConfig);
const record = await netsuiteClient.get({
// Specify one or more of these properties
type: '',
internalId: '',
externalId: ''
});
const fileRef = await netsuiteClient.upload(
'./some/local/dir/my-file.csv', // local file
'uploads/my-file.csv', // NetSuite target file path
);
Checkout other methods: look at the netsuite object console.log(netsuiteClient);
and read netsuite-client.js.
Currently you can only fetch records (get
operation), upload a file (upsert
operation), and fetch folders.
netsuite-auth-config.json
file; see netsuite-auth-config-template.json
for an example in the Functional test folder.yarn run test
to execute the test scripts.FAQs
Generic functionality for connecting to NetSuite Web Services from Node
The npm package @twec/netsuite-client receives a total of 2 weekly downloads. As such, @twec/netsuite-client popularity was classified as not popular.
We found that @twec/netsuite-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.