
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Treege is a tools for decision tree generator
yarn add treege
import { Treege } from "treege";
const App = () => {
return <Treege />;
};
export default App;
| Props | Type | Default | Required | Detail |
|---|---|---|---|---|
| backendConfig | object | undefined | false | Backend configuration. Only necessary if you want backend communication. |
| initialTreeId | string | undefined | false | If provided, this will fetch initial tree id. Cannot provided with initialTree in same time |
| initialTree | object | undefined | false | Initial tree data. Cannot provided with initialTreeId in same time |
backendConfig| Props | Type | Default | Required | Detail |
|---|---|---|---|---|
| baseUrl | string | undefined | true | Base url for API communication. ex : https://api.treege.com |
| authToken | string | undefined | false | Authentication token |
| endpoints | object | undefined | false | Endpoints configuration |
endpoints| Props | Type | Default | Required | Detail |
|---|---|---|---|---|
| workflow | string | undefined | "/v1/workflow" | Endpoint for get/post/patch single workflow |
| workflows | string | undefined | "/v1/workflows" | Endpoint for get all workflows. It is a array on workflow |
Backend model need to be compatible with the following interface:
interface Workflow {
id: string;
name: string;
description: string;
tree: Tree;
}
Tree is a JSON object generated by Treege with the following interface:
interface Tree {
name: string;
attributes: any;
children: Tree[];
treeId?: string;
}
You can easily generate a form with the React library treege-consumer or use our own application !
Clone the repository and install dependencies
yarn install
Locally preview production build
This library uses type definitions from @tracktor/types-treege
FAQs
Form decision tree generator
The npm package treege receives a total of 147 weekly downloads. As such, treege popularity was classified as not popular.
We found that treege 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.