We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aa277c commit d37637aCopy full SHA for d37637a
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "coders.js",
3
- "version": "1.0.3",
+ "version": "1.0.4",
4
"description": "An Advanced Package Manager for discord.js",
5
"main": "./src/index.js",
6
"types": "./typings/index.d.ts",
src/features/utils.js
@@ -57,8 +57,7 @@ function StringToMs(string) {
57
* const { ms } = require('coders.js');
58
* console.log(ms(86400000));
59
* // Output: 1d
60
-*/
61
-
+*/
62
function ms(ms) {
63
if (typeof ms !== 'number') throw new Error('ms must be a number');
64
let seconds = Math.floor(ms / 1000);
0 commit comments