Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@oncokb/oncotree
Advanced tools
OncoTree is a visualisation tool for displaying the hierarchical structure of cancer types, displaying these relationships in tree format. This library comes with an `OncoTree` object to be used for displaying and interacting with the tree as well as util
OncoTree is a visualisation tool for displaying the hierarchical structure of cancer types, displaying these relationships in tree format. This library comes with an OncoTree
object
to be used for displaying and interacting with the tree as well as utility methods to build default UI components that may be used to interact with the tree (the functionality exposed by
these UI components was created completely using the public APIs exposed by the OncoTree
object).
npm install oncotree
# or
yarn add oncotree
import OncoTree, { buildSearchBar, buildToolbar } from 'oncotree';
import treeData from 'tree-data.json';
const oncoTree = new OncoTree('tree-id', treeData);
// if using default UI components
buildSearchBar('search-bar-id', oncoTree, searchBarOptions);
buildToolbar('toolbar-id', oncoTree);
For further documentation, see oncotree.d.ts.
Before you begin, make sure you have the following installed
Since this is a library, this package simply exports functionality i.e. the code shipped in this package is not intended to be executed independently. However, index.html
provides a sandbox environment to use during development. To begin, simply run the following:
npm install && npm run dev
Note: This project uses eslint to find issues. While there is a GitHub action to make sure the code passes the linting process, it is recommended to install an extension that shows these errors in your editor to view these issues before making a commit.
Bump version number in package.json, and commit changes.
Run the following:
npm run build && npm publish --access public
npm run test
FAQs
OncoTree is a visualisation tool for displaying the hierarchical structure of cancer types, displaying these relationships in tree format. This library comes with an `OncoTree` object to be used for displaying and interacting with the tree as well as util
The npm package @oncokb/oncotree receives a total of 30 weekly downloads. As such, @oncokb/oncotree popularity was classified as not popular.
We found that @oncokb/oncotree demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.