Socket
Socket
Sign inDemoInstall

ipakit

Package Overview
Dependencies
7
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ipakit

## Installation


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

IPAKit

Installation

% yarn add ipakit

Usage

import IPAKit from 'ipakit';

let kit = new IPAKit(); // See options below

async function search() {
	let res = response kit.search({
		name: "Apple Maps",
		bundle_id: "com.apple.Maps"
	})

	return [
		res.resultCount,
		res.results[0].author
	];

}

The result from running search() would be:

[
	1,
	"Apple"
]

IPAKit Options

optiontypedefault value
providerProvider[][]

Provider

import {Provider} from 'ipakit';

let myProvider = new Provider({
	name: "myProvider",
	url: "https://api.example.com/ipas"
})

myProvider.run((query, provider) => {

})

export myProvider;

To use the provider, import and add myProvider to IPAKit constructor option like so:

import IPAKit from 'ipakit';
import {myProvider} from './myProvider';

let kit = new IPAKit({
	provider: [myProvider]
});

FAQs

Last updated on 02 Nov 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc