{"_id":"hooks-config","_rev":"9-6077298993fa5fa5e51995cb8e5cde50","name":"hooks-config","description":"simplify interacting with the hooks.json config options","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.0":{"name":"hooks-config","version":"0.0.0","description":"simplify interacting with the hooks.json config options","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"Matthew Chase Whittemore","email":"mcwhittemore@gmail.com"},"license":"BSD-2-Clause","devDependencies":{"mocha":"~1.13.0","node-hooks":"0.0.15","beautify.hks":"0.0.1","esprima.hks":"0.0.0","should":"~2.0.1"},"dependencies":{"colors":"~0.6.2"},"readme":"# Hooks Config\n\nThis module helps you interact with the config section of the hooks.json file which drives [hooks]().\n\n## Usage\n\n`npm install hooks-config`\n\n```\nvar hksConfig = require(\"hooks-config\");\nhksConfig.view(function(data){\n\tdata.setting = \"set\";\n\thksConfig.save(data, function(err){\n\t\tif(err){\n\t\t\t//really, this should never happen...\n\t\t}\n\t});\n});\n```\n\n## Change Log\n\n### 0.0.0\n\n* mvp","readmeFilename":"readme.md","_id":"hooks-config@0.0.0","dist":{"shasum":"3b32fb3e3211621ff5ce696f83fde0c66103ec5b","tarball":"https://registry.npmjs.org/hooks-config/-/hooks-config-0.0.0.tgz","integrity":"sha512-cW6kw5WxXYdLRuN+yVfRjObPnAOtXUzO4nQQQP88kQx2jvgvvY3rtM0V1sxa0eFIDQgbDwb1TTq+Xydn4yO5pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsDd9qehDZIni4QIu69O4e9khSIdZmaz/1+GCldn2SHAiEAyyK7jUL9YohdMUxnfaLN8fAVyqv1XytnDJfn6mCSrJs="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"},"maintainers":[{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"}]},"0.0.1":{"name":"hooks-config","version":"0.0.1","description":"simplify interacting with the hooks.json config options","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"Matthew Chase Whittemore","email":"mcwhittemore@gmail.com"},"license":"BSD-2-Clause","devDependencies":{"mocha":"~1.13.0","node-hooks":"0.0.15","beautify.hks":"0.0.1","esprima.hks":"0.0.0","should":"~2.0.1"},"dependencies":{"colors":"~0.6.2"},"readme":"# Hooks Config\n\nThis module helps you interact with the config section of the hooks.json file which drives [hooks]().\n\n## Usage\n\n`npm install hooks-config`\n\n```\nvar hksConfig = require(\"hooks-config\");\nhksConfig.view(function(data){\n\tdata.setting = \"set\";\n\thksConfig.save(data, function(err){\n\t\tif(err){\n\t\t\t//really, this should never happen...\n\t\t}\n\t});\n});\n```\n\n## Change Log\n\n### 0.0.0\n\n* mvp\n\n### 0.0.1\n\n* bug fix with undefined config object","readmeFilename":"readme.md","_id":"hooks-config@0.0.1","dist":{"shasum":"2e5bf116985f3189fdc05ef7ff33a99cb8a80c04","tarball":"https://registry.npmjs.org/hooks-config/-/hooks-config-0.0.1.tgz","integrity":"sha512-0W7LifR5KNNsCv94f7EaLFTaD5rIG0716wNQsMU1hLSD0hNVTFANUJwwEPK4wZcfUIkpzUzCdE1qor9gijXf2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRgLDzaqjp6CCMezJpwVG9uxQeIqW6G8QDUEuoOpsGsAiEA+qp31wXPMBS9V/WWlLcL0HqOdY+LH9f1jbJ+nHmzBdE="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"},"maintainers":[{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"}]},"0.0.2":{"name":"hooks-config","version":"0.0.2","description":"simplify interacting with the hooks.json config options","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"Matthew Chase Whittemore","email":"mcwhittemore@gmail.com"},"license":"BSD-2-Clause","devDependencies":{"mocha":"~1.13.0","node-hooks":"0.0.15","beautify.hks":"0.0.1","esprima.hks":"0.0.0","should":"~2.0.1"},"dependencies":{"colors":"~0.6.2"},"readme":"# Hooks Config\n\nThis module helps you interact with the config section of the hooks.json file which drives [hooks]().\n\n## Usage\n\n`npm install hooks-config`\n\n```\nvar hksConfig = require(\"hooks-config\");\nhksConfig.view(function(data){\n\tdata.setting = \"set\";\n\thksConfig.save(data, function(err){\n\t\tif(err){\n\t\t\t//really, this should never happen...\n\t\t}\n\t});\n});\n```\n\n## API\n\n### hksConfig.hookModule\n\nThe hook module to access. This will default to the module the script is currently being run in.\n\n### hksConfig.view(callback)\n\nReturns an object representing the config options set for the module currently specified.\n\n### hksConfig.save(data, callback)\n\nSaves the provided object as the new config for the current object. This will override any values not passed in.\n\n### hksConfig.project\n\nBoolean defaulted to true. Setting this to false, will mean all the \n\n## Change Log\n\n### 0.0.2\n\n* Adding in boolean flip, to aid in accessing user only config's vs project wide configs.\n\n### 0.0.1\n\n* bug fix with undefined config object\n\n### 0.0.0\n\n* mvp\n\n","readmeFilename":"readme.md","_id":"hooks-config@0.0.2","dist":{"shasum":"e5f4e53e1292d9ae0969ef08a66bb0bcebf92f39","tarball":"https://registry.npmjs.org/hooks-config/-/hooks-config-0.0.2.tgz","integrity":"sha512-vxuP/1u6brmtEMz24jPLVaBo+1NiGsC361XG2BPynMpn1yrqKnpjFSqqy9j4mUkA8CPBX2GJE3287CsSzO/4JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCto6IlQVcnp/uTDMgDJjmm1HOMetf5cxB2DuMDCepuKQIgdkNjaXalhckKVulDO/x4eSHrY0IK0/yV6jL8KaDOWb4="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"},"maintainers":[{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"}]}},"readme":"# Hooks Config\n\nThis module helps you interact with the config section of the hooks.json file which drives [hooks]().\n\n## Usage\n\n`npm install hooks-config`\n\n```\nvar hksConfig = require(\"hooks-config\");\nhksConfig.view(function(data){\n\tdata.setting = \"set\";\n\thksConfig.save(data, function(err){\n\t\tif(err){\n\t\t\t//really, this should never happen...\n\t\t}\n\t});\n});\n```\n\n## Change Log\n\n### 0.0.0\n\n* mvp","maintainers":[{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"}],"time":{"modified":"2022-06-18T21:30:42.793Z","created":"2013-10-18T04:36:21.794Z","0.0.0":"2013-10-18T04:36:22.979Z","0.0.1":"2013-10-18T05:25:34.313Z","0.0.2":"2013-10-21T01:22:08.382Z"},"author":{"name":"Matthew Chase Whittemore","email":"mcwhittemore@gmail.com"}}