0.1.1 โ€ข Published 6 months ago

object-strings-deep v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Usage

npm i object-strings-deep
import { getObjectStringsDeep } from "object-strings-deep";

// ["abc", "def", "ghi"]
getObjectStringsDeep(["abc", { def: ["ghi"] }]);

getObjectStringsDeep recursively uses Object.entries() internally to retrieve all keys and values within an object. It then filters to all strings from keys, properties, and within arrays.

Contributors

๐Ÿ’™ This package was templated with create-typescript-app.

0.1.1

6 months ago

0.1.0

6 months ago