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

if-got

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

if-got

got extension for Iconfinder API

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

if-got ![Build Status](https://travis-ci.org/ragingwind/ if-got.svg?branch=master)

got extension for Iconfinder API

Install

$ npm install --save if-got

Usage

const ifGot = require('if-got');

ifGot('icons/search', {query: {query: 'app'}}).then(res => {
	console.log(res.body.total_count);
});

Or:

const ifGot = require('if-got');

ifGot('https://api.iconfinder.com/v2/icons/search', {query: {query: 'app'}}).then(res => {
	console.log(res.body.total_count);
});

API

Supporting APIs same as got even stream API, but GET method is only supported now.

License

MIT © Jimmy Moon

Keywords

got

FAQs

Package last updated on 22 Apr 2016

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