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

newsapi-connector

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newsapi-connector

[![License](https://badgen.net/github/license/bartlomiejstrzelczyk/newsapi-connector)](./LICENSE) [![Library minified size](https://badgen.net/bundlephobia/min/newsapi-connector)](https://bundlephobia.com/result?p=newsapi-connector) [![Library minified +

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

newsapi-connector

License Library minified size Library minified + gzipped size

Simple library for getting news from https://newsapi.org

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

npm install newsapi-connector --save

# For Yarn, use the command below.
yarn add newsapi-connector

Documentation

Documentation generated from source files by Typedoc.

Example usage

import { getSources } from "newsapi-connector";

const { data } = await getSources({
  apiKey: 'api key from newsapi.org',
});
this.sources = data.sources;

License

Released under MIT License.

Keywords

typescript

FAQs

Package last updated on 11 Oct 2020

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