New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cdcm

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdcm

Community driven content management. Content stored in a directories composed of json, markdown, and images.

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

CDCM

cdcm is community driven content management module. This module gets content stored in a folder structure (composed of json, markdown, and images) and creates consumable data.

let cdcm = require( 'cdcm' );

Get the module.

let config = {
    zipUrl : 'https://github.com/RevolutionVA/website2017/archive/master.zip',
    cdnUrl : 'https://raw.githubusercontent.com/revolutionva/website2017/master'
};

Set the configuration.

cdcm( config )
    .getData()
    .then( data => {
        console.log( JSON.stringify( data, null, '\t' ) );
    } )
    .catch( err => {
        console.error( err );
    } );

Running .getData() returns each an array of data types, their name, and collection of items.

Original developed as part of the Revolution Conf website.

Keywords

FAQs

Package last updated on 30 Apr 2017

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