Current collected state Current
Observed since 20 Oct, 22:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Recursively strip empty values from objects and arrays.
Recursively strip empty values from objects and arrays.
npm install @0xA672/strip.ts
npm install github:0xA672/strip.ts
npm install github:0xA672/strip.ts#main
# or with bun
bun install github:0xA672/strip.ts
import { stripEmpties } from 'strip.ts';
const obj = {
name: 'test',
age: 0,
addr: '',
meta: {
tags: [],
extra: null,
note: 'hello',
},
};
console.log(stripEmpties(obj));
// => { name: 'test', meta: { note: 'hello' } }
console.log(stripEmpties(obj, { omitZero: true }));
// => { name: 'test', meta: { note: 'hello' } } (age removed)
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.1Registry latest | 24 Apr 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:eb5af7009bd6124128b9b6641c96bfe69e9d7bd71d710f6e2920976063623c0d