hooks-config
simplify interacting with the hooks.json config options
Last updated 12 years ago by mcwhittemore .
BSD-2-Clause · Original npm · Tarball · package.json
$ cnpm install hooks-config 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.2                                ...           latest (12 years ago)

3 Versions

  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
  • 0.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (5)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |