Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: flat
node v16.18.0
version:
1.0.0
endpoint
share
tweet
var flatten = require("flat").flatten flatten({ key1: { keyA: 'valueI' }, key2: { keyB: 'valueII' }, key3: { a: { b: { c: 2 } } } })
Created from: https://npm.runkit.com/flat
Loading…
no comments
sign in
to comment