Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
clinews
Advanced tools
Readme
A CLI for reading the news which supports over 70 sources. Get all the latest headlines from around the world without leaving your terminal. Powered by NewsAPI.org.
clinews allows you to:
Note: You must be on node version 7.6.0 or later to use clinews.
npm
npm i -g clinews
yarn
yarn global add clinews
Fetch all the latest news stories from bbc-news:
news fetch bbc-news
other examples...
news fetch techcrunch
news fetch hacker-news
Show all the sources you can get news from. Use the Fetch Id
field with the fetch
command to get news for that source.
news sources
You can search across all 70+ news sources to find stories with a title matching your criteria. For example, to find all news stories with titles containing the words "Donald Trump" you can execute the following. Note that searches are also case insensitive. The 2 commands below are equivalent.
news search "Donald Trump"
or
news search "donald trump"
clinews supports some extra flags as well. See below:
-V, --version output the version number
-l, --limit <limit> limit the amount of news stories you want to see.
-c, --category <category> category of sources you want to see. Choices include: business, entertainment, gaming, general, music, politics, science-and-nature, sport, technology.
-h, --help output usage information
You can run news --help
to get this information at any time.
FAQs
A command line interface for getting news stories from https://newsapi.org
The npm package clinews receives a total of 2 weekly downloads. As such, clinews popularity was classified as not popular.
We found that clinews demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.