Socket
Socket
Sign inDemoInstall

guilty

Package Overview
Dependencies
154
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    guilty

Activity Logger


Version published
Maintainers
1
Created

Readme

Source

Guilty

Version: 0.0.2

Build Status

Guilty is a simple activity logger for web apps.

It saves a record of who did what to whom.

Quickstart

Node Module

npm install guilty

See config/index.sample.js for an example of how the config object should look.

var log = require('guilty').api(config);

var event = {
  sub_type: 'some-subject',
  sub_id: '<guid>',
  verb: 'some-action',
  obj_type: 'some-object',
  obj_id: '<guid>',
  attrs: {options: values}
};

log.add(event, next);

Simple server

npm install guilty
var server = require('guilty').server(config);
server.reset(next); // inits database, deletes all data
server.start(next);

Release History

  • 07/10/2014 0.0.1 Pre-release verion
  • 27/10/2014 0.0.2 First cut

License

Copyright (c) 2014 Simon Swain

Licensed under the MIT license.

FAQs

Last updated on 27 Oct 2014

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