sindresorhus / Parse Ms
Licence: mit
Parse milliseconds into an object
Stars: ✭ 74
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Parse Ms
Query String
Parse and stringify URL query strings
Stars: ✭ 5,781 (+7712.16%)
Mutual labels: parse, npm-package
Mnemonic Words
List of words for making random mnemonic sentences
Stars: ✭ 66 (-10.81%)
Mutual labels: npm-package
Cli Mandelbrot
📦 View the Mandelbrot set from your terminal
Stars: ✭ 59 (-20.27%)
Mutual labels: npm-package
Bitwise
🔟 JavaScript/TypeScript library to manipulate bits, nibbles, bytes, and buffers.
Stars: ✭ 64 (-13.51%)
Mutual labels: npm-package
Packagephobia
⚖️ Find the cost of adding a new dependency to your project
Stars: ✭ 1,110 (+1400%)
Mutual labels: npm-package
Parse Sdk Js
The JavaScript SDK for the Parse Platform
Stars: ✭ 1,158 (+1464.86%)
Mutual labels: parse
Random Bytes Readable Stream
Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`
Stars: ✭ 71 (-4.05%)
Mutual labels: npm-package
Use Reducer X
🔩 An alternative to useReducer that accepts middlewares.
Stars: ✭ 62 (-16.22%)
Mutual labels: npm-package
Parser
Generate a JSON documentation for a SFC Vue component. Contribute: https://gitlab.com/vuedoc/parser#contribute
Stars: ✭ 74 (+0%)
Mutual labels: parse
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-1.35%)
Mutual labels: npm-package
parse-ms
Parse milliseconds into an object
Install
$ npm install parse-ms
Usage
const parseMilliseconds = require('parse-ms');
parseMilliseconds(1337000001);
/*
{
days: 15,
hours: 11,
minutes: 23,
seconds: 20,
milliseconds: 1,
microseconds: 0,
nanoseconds: 0
}
*/
Related
- to-milliseconds - The inverse of this module
- pretty-ms - Convert milliseconds to a human readable string
License
MIT © Sindre Sorhus
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].