otoa

2026.0.0 • Public • Published

otoa: object to array

Convert an object to array with/without given key-prefix.

This package: github | npm

Functionality:

  1. objectToArray: [value1, ]
  2. objectToKeyValueArray: [[key, value],] You might want to .flat() the output.

Look at spec for examples.

Also see:

  1. atoo: [github](https://github.com/IAmAnubhavSaini/atoo/] | npm

License

The MIT License (MIT)

Copyright (c) 2016-2025 Anubhav Saini

Package Sidebar

Install

npm i otoa

Weekly Downloads

1

Version

2026.0.0

License

MIT

Unpacked Size

21.6 kB

Total Files

10

Last publish

Collaborators

  • git.faf
  • anusaini