otoa
v2026.0.0
Published
object to array | Convert an object to array with/without given key-prefix. | Basically reverses what atoo does.
Readme
otoa: object to array
Convert an object to array with/without given key-prefix.
Functionality:
objectToArray:[value1, ]objectToKeyValueArray:[[key, value],]You might want to .flat() the output.
Look at spec for examples.
Also see:
- atoo: [github](https://github.com/IAmAnubhavSaini/atoo/] | npm
License
The MIT License (MIT)
Copyright (c) 2016-2025 Anubhav Saini
