
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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-config-template.json.
const netSuiteConfig = {
// various properties
// see netsuite-config-template.json
// or the defaultConfig in netsuite-client.js
};
const netsuiteClient = new NetSuiteClient(netsuiteConfig);
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-config.json
file; see netsuite-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
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.