
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
flattenizer
Advanced tools
Functions to flatten and unflatten nested JavaScript objects into a single level. Keys are enumerated if they collide.
The code is documented using tsdoc
. The tests are helpful to read as well. There are also docs generated using api-extractor
in the docs folder.
To run:
npm start
This builds to /dist
and runs the project in watch mode so any edits you save inside src
causes a rebuild to /dist
.
To do a one-off build, use npm run build
.
To run tests, use npm test
.
Code quality is set up for you with prettier
, husky
, and lint-staged
. Adjust the respective fields in package.json
accordingly.
Jest tests are set up to run with npm test
.
size-limit
is set up to calculate the real cost of your library with npm run size
and visualize the bundle with npm run analyze
.
Two actions are added by default:
main
which installs deps w/ cache, lints, tests, checks size and builds on all pushes against a Node and OS matrixFAQs
Small library for flattening and unflattening objects.
The npm package flattenizer receives a total of 752 weekly downloads. As such, flattenizer popularity was classified as not popular.
We found that flattenizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.