Created
          December 21, 2011 00:25 
        
      - 
      
- 
        Save rauchg/1503944 to your computer and use it in GitHub Desktop. 
    Milliseconds conversion utility.
  
        
        
        Published to npm as ms
This is my lighter version: https://gist.github.com/1997544
Same output as original :)
BTW, the function is very useful indeed, thanks mate!
@tubalmartin Thanks for the contribution! Unfortunately, it fails two tests. I moved everything to a repository here for you to fork:
https://github.com/guille/ms.js
@guille Thanks for the tests, I'll run them and try to fix those failing!
@guille Pull request made. It passes all tests now :)
https://github.com/tubalmartin/ms.js
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
+1 Just tried to require this but was not in npm!
Please publish :)
D