New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@grof-sg/grof-iras-api

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grof-sg/grof-iras-api

Sprout's interface with IRAS

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
0
Weekly downloads
 
Created
Source

sprout-iras-api

Simplified IRAS Rest API http request for Sprout Apps

Key features

  • Search GST Registered

Installation

1.Install package

To install sprout-basis-api with npm:

npm install @sproutasia/sprout-iras-api --save

To install sprout-basis-api with yarn:

yarn add @sproutasia/sprout-iras-api --save

Usage

Here is a basic example of using sprout-iras-api within a nodejs application.

const Iras = require("@sproutasia/sprout-iras-api");
const irasAPI = new Iras(false, "<PasteClientIDHere>", "<PasteSecretHere>");

// Check GST
irasAPI.searchGSTRegistered("<PasteUENHere>").then((resp) => {
  console.log(resp);
  /*
    {
      returnCode: "10",
      data: {
        gstRegistrationNumber: "Test GST Reg Number",
        name: "Test name",
        registrationId: "Test Reg ID",
        RegisteredFrom: "1994-04-01T00:00:00",
        Status: "Registered",
      },
      info: {
        fieldInfoList: [],
      },
    }  
  */
});

FAQs

Package last updated on 16 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc