hooks-config

simplify interacting with the hooks.json config options

3 个版本
安装
npm install hooks-config
yarn add hooks-config
pnpm add hooks-config
bun add hooks-config
README

Hooks Config

This module helps you interact with the config section of the hooks.json file which drives hooks.

Usage

npm install hooks-config

var hksConfig = require("hooks-config");
hksConfig.view(function(data){
	data.setting = "set";
	hksConfig.save(data, function(err){
		if(err){
			//really, this should never happen...
		}
	});
});

Change Log

0.0.0

  • mvp
版本列表
0.0.2 2013-10-21
0.0.1 2013-10-18
0.0.0 2013-10-18