Socket
Socket
Sign inDemoInstall

@ip-pilot/ippql-helpers

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

@ip-pilot/ippql-helpers

A demo package that allows you to sort, slice and get an array of strings with a provided prop and value from an IPPQL response.


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ippql-helpers

Gettin started

  1. Install the package
npm i ippql-helpers
  1. How to use it in your file (ex: paste it in an index.js file and then run node index.js):
const { ippqlHelpers } = require('ippql-helpers');

const entries = [
  {
    'herzog-fiesser-partner-de': 856,
    data_1: [
      {
        foreign_rep_name: 'HERZOG FIESSER & PARTNER',
        foreign_rep_country: 'DE',
      },
    ],
  },
  {
    '3m-innovative-properties-co-us': 2387,
    data_1: [
      {
        foreign_rep_name: '3M INNOVATIVE PROPERTIES CO',
        foreign_rep_country: 'US',
      },
    ],
  },
];

const sortedAndSlicedEntries = ippqlHelpers.sortAndSliceIppqlResults(entries, 3)
const formattedCountries = ippqlHelpers.getFormattedCountries(sortedAndSlicedEntries,  'foreign_rep_country')

Built with

  • Node.js
  • Axios

Company

IP Pilot:

Keywords

FAQs

Package last updated on 22 Nov 2023

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