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

i-reporter-node

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

i-reporter-node

NPM package to retrieve/send data to i-reporter

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

i-reporter-node

A Node.js client library for the ConMas i-Reporter API, enabling seamless interaction with i-Reporter servers for document management, report updates, and master record retrieval.

Features

  • Authentication: Easy login/logout management.
  • Document Management: Create new documents, including importing data via CSV/XML.
  • Report Updates: Modify existing reports, update specific clusters, and handle approval flows.
  • Master Data: Retrieve master record lists.
  • Utilities: Built-in support for image handling and QR code generation.

Installation

npm install i-reporter-node

Usage

Initialization

import { IReporterNode } from 'i-reporter-node';

const client = new IReporterNode({
  domain: 'https://your-ireporter-server.com/',
  username: 'your-username',
  password: 'your-password',
});

Fetching Report List

const reports = await client.getReportList();
console.log(reports);

Creating a Document

await client.createDocument({
  defTopId: '222',
  repTopName: 'New Report',
  createUserId: 'user01',
  systemKey5: 'ORDER-123',
  // ... other parameters
});

Updating a Cluster

await client.updateReport(
  {
    topId: '53',
    mode: 1, // Force update
  },
  [
    {
      clusterId: '369',
      value: 'Approved',
      sheetNo: '1',
    },
  ]
);

Configuration

Ensure you have the correct endpoint and credentials. For example scripts, you can use environment variables:

  • IRPT_DOMAIN
  • IRPT_USERNAME
  • IRPT_PASSWORD

License

MIT © Ravhi Rizaldi

Keywords

i-reporter

FAQs

Package last updated on 31 Dec 2025

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