
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
react-forest
Advanced tools
A simple React file structure viewer.
Simply use the tag <Forest /> in a React app.
The Forest component requires a data parameter, which can either be an array of folders and files or a dictionary signifying a root folder with child elements.
All folders must have a boolean property titled folder and have it set to true. Non-empty folders should also have a property children, which should be an array of files.
Files should not have a folder property, but are required to have a url property containing a link to the file.
All files and folders must have a name property.
Dict Example:
{
"name": "TestRootFolder",
"folder": true,
"children": [
{
"name": "TestFile",
"url": "https://example.com/TestFile"
},
{
"name": "TestSubFolder1",
"folder": true,
"children": [
// etc
]
}
]
}
Array Example:
[
{
"name": "TestFile",
"url": "https://example.com/TestFile"
},
{
"name": "TestFolder1",
"folder": true,
"children": [
{
"name": "TestFile2",
"url": "https://example.com/TestFile2"
}
]
},
{
"name": "TestFolder2",
"folder": true,
"children": [
// empty
]
}
]
FAQs
Unknown package
The npm package react-forest receives a total of 8 weekly downloads. As such, react-forest popularity was classified as not popular.
We found that react-forest demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.