jonschlinkert / omit-empty
Recursively omit empty properties from an object. Omits empty objects, arrays, strings, and optionally zero. Similar results to what you would expect with `compact` for arrays.
☆73Updated 5 years ago
Alternatives and similar repositories for omit-empty:
Users that are interested in omit-empty are comparing it to the libraries listed below
- Write data to a random temporary file☆105Updated 6 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the extension of a given filename or path☆30Updated 6 years ago
- Get the arguments of a function, arrow function, generator function, async function☆52Updated last year
- Check if a URL is absolute☆79Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Webpack plugin for mapping modules onto different files☆27Updated 7 years ago
- Check if something is a promise☆46Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Sort an object's keys, including an optional key list☆31Updated 4 years ago
- Simplify npm scripts with `if-env ... && npm run this || npm run that`☆97Updated 4 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Conditional promise chains☆60Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 2 years ago
- The cheesy object formatter☆36Updated 4 years ago
- Lazy number range generator☆81Updated last year
- Convert HTML entities to HTML characters, e.g. `>` => `>`.☆39Updated 3 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- The closest you can get to require something with bypassing the require cache☆22Updated 3 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- List of JavaScript types☆82Updated 9 months ago