Socket
Socket
Sign inDemoInstall

dtimer

Package Overview
Dependencies
6
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.2

2

lib/dtimer.js

@@ -18,3 +18,3 @@ 'use strict';

update: {
script: fs.readFileSync(__dirname + '/update.lua', {encoding:'utf8'})
script: fs.readFileSync(__dirname + '/update.lua', 'utf8')
}

@@ -21,0 +21,0 @@ };

{
"name": "dtimer",
"version": "0.1.0",
"version": "0.1.2",
"description": "Distributed timer backed by Redis.",

@@ -14,10 +14,10 @@ "main": "index.js",

"dependencies": {
"underscore": "^1.6.0",
"redis": "^0.11.0",
"async": "^0.9.0",
"lured": "^0.0.1",
"underscore": "~1.6.0",
"redis": "~0.12.1",
"lured": "~0.0.2",
"debug": "~1.0.4"
},
"devDependencies": {
"mocha": "^1.21.0"
"async": "~0.9.0",
"mocha": "~1.21.0"
},

@@ -24,0 +24,0 @@ "keywords": [

# dtimer
[![NPM](https://nodei.co/npm/dtimer.png?compact=true)](https://nodei.co/npm/dtimer/)
Distributed timer backed by Redis.
[![NPM](https://nodei.co/npm/dtimer.png)](https://nodei.co/npm/dtimer/)
[![unstable](https://img.shields.io/badge/stability-unstable-yellowgreen.svg)](http://nodejs.org/api/documentation.html#documentation_stability_index)
[![Build Status](https://travis-ci.org/enobufs/dtimer.svg?branch=master)](https://travis-ci.org/enobufs/dtimer)
Distributed timer backed by Redis.
## Why dtimer?

@@ -74,2 +73,2 @@ In a clustered server environment, you'd occasionally need to process a task after a certain period of time. The setTimeout() may not be suitable because the process may die for whatever reason, the timed events would also be lost. Ideally, you'd want to store these timed events on a central strage, then have a cluster of listeners handle the due events. If you are already using Redis, then this dtimer would be a handy solution for you.

// posted event successfully })
```
```

Sorry, the diff of this file is not supported yet

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