nfriedly / approximate-number
Converts numbers into a more human-friendly format. E.g. 123456 becomes 123k. Similar to `ls -lh` or Stack Overflow's reputation numbers.
☆37Updated 2 months ago
Alternatives and similar repositories for approximate-number:
Users that are interested in approximate-number are comparing it to the libraries listed below
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Run a piece of code when the javascript process stops. Works in all environments (browsers, nodejs..)☆55Updated this week
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- A safer `.hasOwnProperty()`☆29Updated last year
- Display output from `xo` as a list of style errors, ordered by count☆35Updated 2 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Get a random item from an array☆57Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Pick random items from a list☆54Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- A simple way to cache and replay readable streams.☆45Updated 5 years ago
- Like the `Did you mean?` in git for npm☆46Updated 2 years ago
- Get the arguments of a function, arrow function, generator function, async function☆52Updated last year
- Regular expression for matching JavaScript comments☆31Updated 2 years ago
- Download Chromium!☆26Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Parse milliseconds into an object☆119Updated 11 months ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Randomize the order of items in an array☆105Updated 2 years ago
- Linkify GitHub issue references☆46Updated 6 months ago
- A response-like object for mocking a Node.js HTTP response stream☆36Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Get the URL to a Gravatar image from an identifier, such as an email☆76Updated 2 months ago