A very simple, and incomplete registry editor for Node.js
$ npm install --save node-reg
Include node-reg in your project
var regedit = ;
Currently node-reg only has two methods:
Both take a single object parameter. The expected format for both is:
target: 'Location-in-registry'name: 'Name of key'value: 'Value for key'type: 'The data type'
All attributes are necessary in addKey, however only target is necessary for getKey. Name and type are optional for getKey, and value is unused.
var regedit = ;regedit;regedit;
- If a name isn't specified, getKey will return a list of all keys in the target location. If one is specified, it will return the single value (or a message indicating none is available).
- Better code documentation
- Error handling