New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

flatten-nested

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flatten-nested

nest with objects; nest with arrays; deeply nest; we dont care! 😘

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

De Nest to flat


nest with objects; nest with arrays; deeply nest; we dont care! 😘

just print out all the keys,

just print out all the values. format the stuff do the things.

key values that are nested need to be key1.key2.
... hint, use a recursive function.

Sorry just here for a good tutorial

no problem!

run this script to get the output:

for d in ./tutorialsForOthers/* ; do (echo && echo "$d" && node $d); done

or node <specific tutorialfile.js>

Keywords

flat

FAQs

Package last updated on 29 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts