Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@twec/node-suite
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/node-suite
const NetSuite = require('node-suite');
// or: import NetSuite from 'node-suite';
When instatiating your netsuite object, you'll need to provide a config object with connection details. See config.json.example.
const netSuiteConfig = {
// various properties
// see config.json.example
// or the defaultConfig in index.js
};
const ns = new NetSuite(netSuiteConfig);
const record = await ns.get({
// Specify one or more of these properties
type: '',
internalId: '',
externalId: ''
});
const fileRef = await ns.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(ns);
and read index.js.
Currently you can only fetch records (get
operation), upload a file (upsert
operation), and fetch folders.
npm test
will run both the AVA unit tests and ESLint.
config.json
in the root of the package directory; see config.json.example
for an example of the format expected.config.json
to have the appropriate connection strings (likely pointing to sandbox)test.js
to comment-out code to run a specific testnode test.js
FAQs
Generic functionality for connecting to NetSuite Web Services from Node
The npm package @twec/node-suite receives a total of 5 weekly downloads. As such, @twec/node-suite popularity was classified as not popular.
We found that @twec/node-suite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.