Comparing version 0.1.0 to 0.1.1
@@ -13,3 +13,3 @@ | ||
second: 1000, | ||
minite: 60000, | ||
minute: 60000, | ||
hour: 3600000, | ||
@@ -69,3 +69,3 @@ day: 86400000 | ||
s, second(s)? | ||
m, minite(s)? | ||
m, minute(s)? | ||
h, hour(s)? | ||
@@ -72,0 +72,0 @@ d, day(s)? |
{ | ||
"name": "timers", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A tiny cron-like tools for humman.", | ||
@@ -18,4 +18,7 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "make test" | ||
"test": "make test", | ||
"blanket": { | ||
"pattern": "//^((?!(node_modules|test)).)*$/" | ||
} | ||
} | ||
} | ||
} |
@@ -1,7 +0,7 @@ | ||
# Timers | ||
# Schedule | ||
A tiny cron-like tools for humman, implement by Node.js | ||
[![Build Status](https://travis-ci.org/popomore/timers.png?branch=master)](https://travis-ci.org/popomore/timers) | ||
[![Coverage Status](https://coveralls.io/repos/popomore/timers/badge.png)](https://coveralls.io/r/popomore/timers) | ||
[![Build Status](https://travis-ci.org/popomore/schedule.png?branch=master)](https://travis-ci.org/popomore/schedule) | ||
[![Coverage Status](https://coveralls.io/repos/popomore/schedule/badge.png)](https://coveralls.io/r/popomore/schedule) | ||
@@ -13,3 +13,3 @@ --- | ||
``` | ||
$ npm install timers | ||
$ npm install schedule | ||
``` | ||
@@ -20,5 +20,5 @@ | ||
``` | ||
var every = require('timers').every; | ||
var every = require('schedule').every; | ||
every('2s').do(function() { | ||
// do your job | ||
// do your job | ||
}); | ||
@@ -30,3 +30,3 @@ ``` | ||
``` | ||
var every = require('timers').every; | ||
var every = require('schedule').every; | ||
var ins = every('2 seconds').do(cb); | ||
@@ -33,0 +33,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4382