Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ln-config-channels

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ln-config-channels

The list of channels and keywords used by LevelNews.org to organize the site.

  • 3.1.6
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ln-config-channels

The list of channels used by LevelNews.org to organize the website. Each channel is a topic. The channel list is in JSON format. Take a look at the data.js file if you're just looking to see what channels are configured.

For publishers and writers

This module also contains keywords related to each channel. If you are a publisher or writer and your web domain and twitter handle are already listed in our news feed directory, take a look at the keywords directory in this module to give you an idea of how to get our bots to pick up your story automagically (similar to SEO). Each channel/topic has a corresponding file inside of the keywords directory that tells you what the magic words are to include in your article's title, url, and description and keywords meta tags. Level News is not exclusively limiting itself to these keywords, but you can use the ones included here as a general guide.

If you'd like to make a suggestion, please click the "Issues" tab in the GitHub repository. Or if you feel like writing some JSON and opening a GitHub pull request, feel free to do so. You can also email vision (@) levelnews.org.

Usage with Node.js/NPM

npm install ln-config-channels --save

API

const configChannels = ('ln-config-channels')

// { 'ActionAlerts': { 'topic': '...'}, 'Activism': .... }
configChannels.data

// same as .data, w/ addt'l `keywords` array as property of each channel key
configChannels.dataWithKeywords

// returns array of channel names (only)
configChannels.filters.extractKeys()

// returns array of keywords related to channel name passed in
// if bad channel name is passed in it will return an empty array
configChannels.filters.extractKeywords(channelName)

FAQs

Package last updated on 22 Aug 2018

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc