Socket
Socket
Sign inDemoInstall

periodicjs.core.extensions

Package Overview
Dependencies
0
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    periodicjs.core.extensions

extension helper functions for periodicjs cms framework


Version published
Weekly downloads
2
decreased by-96.83%
Maintainers
2
Install size
159 kB
Created
Weekly downloads
 

Readme

Source

periodicjs.core.extensions

Periodic's CoreExtension module, provides helpful methods for install, removing, configuring node modules that augment Periodic's default Express control flow.

Extensions are node modules that are loaded when an instance of periodic is instantiated.

A list of enabled,disabled and installed Extensions are located in content/extensions/extensions.json

API Documentation

Installation

$ npm install periodicjs.core.extensions

This is a part of Periodic's core.

Usage

Installing extensions

JavaScript

var Extensions = require('periodicjs.core.extensions'),
	ExtensionCore = new Extensions({
		dirname: __dirname 
	});

ExtensionCore.install(options,callback);

Removing extensions

JavaScript

var Extensions = require('periodicjs.core.extensions'),
	ExtensionCore = new Extensions({
		dirname: __dirname 
	});

ExtensionCore.uninstall(options,callback);

##API

ExtensionCore.loadExtensions(periodic); //load extensions defined in content/extensions/extensions.json

##Development Make sure you have grunt installed

$ npm install -g grunt-cli

Then run grunt watch

$ grunt watch

##Notes

Keywords

FAQs

Last updated on 10 Mar 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc