mirror of
https://github.com/SrIzan10/pretty-seconds-spanish.git
synced 2026-05-01 10:55:21 +00:00
node version up and enable strict mode
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pretty-seconds",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "a very simple function to stringify any huge number of seconds. give it million seconds and it tells you how many days, hours, minutes and seconds in a pretty string.",
|
||||
"main": "pretty-seconds.js",
|
||||
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"dependencies": null,
|
||||
"engines": {
|
||||
"node": ">=0.6"
|
||||
"node": ">=0.10.3"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "nodeunit tests/basics.js"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = prettySeconds;
|
||||
|
||||
function quantify(data, unit, value) {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
var testCase = require('nodeunit').testCase
|
||||
, prettySeconds;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user