
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
@dhnapi/news-api
Advanced tools
Simple News-API scrapper library
@@ Created on 1-12-21 | Dehanjing @@
+ Updated on 3-12-21 | Dehanjing
npm install @dhnapi/news-api
yarn add @dhnapi/news-api
NO | NAME | DESCRIPTION |
---|---|---|
1 | Antara | Get news on Antara |
2 | BBC | Get news on BBC |
3 | CNBC | Get news on CNBC |
4 | CNN | Get news on CNN |
5 | Daily | Get news on Daily |
6 | Detik | Get news on Detik |
7 | Fajar | Get news on Fajar |
8 | IDN | Get news on IDN |
9 | Indozone | Get news on Indozone |
10 | INews | Get news on INews |
11 | Kompas | Get news on Kompas |
12 | Kontan | Get news on Kontan |
"use strict";
let NewsAPI = require("@dhnapi/news-api");
let dapi = new NewsAPI();
// @return {Object} class
// console.log(dapi);
/**
*
* CNN - ID
* @param callback {Function}
*
**/
dapi.cnn((response, error) => {
if (error) return console.error(error.stack);
/**
* @return {Object} response
* @object AxiosResponse
**/
return console.info("success scrapping ~~", JSON.stringify(response.data, null, 2));
});
+ dont forget to star <3
! contribute to this project! ~~~
- please add issue if you having problem with installation
! github: https://github.com/Dehanjing/news-api
FAQs
Simple News-API scrapper library
We found that @dhnapi/news-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.