Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
higlass-register
Advanced tools
Pluggable Track Register Tool for HiGlass
If you develop pluggable tracks for HiGlass please use this simple tool to register your tracks.
Note, higlass-register
is nothing more than an agreed way of exposing plugins to HiGlass. You could circumvent higlass-register
but then you'll have to take of staying up to date with the plugin registration process yourself.
npm install --save-dev higlass-register
To register your track as a plugin
import register from 'higlass-register';
import MyFancyNewHiGlassTrack from './MyFancyNewHiGlassTrack';
register(
{
track: MyFancyNewHiGlassTrack,
config: MyFancyNewHiGlassTrack.config,
},
{
// Set to `true` if you want to override previously registered track that
// define the same track type.
force: false
}
);
Take a look at HiGlass GeoJSON Track for how to write a pluggable track.
To register your data fetcher as a plugin
import register from 'higlass-register';
import MyFancyNewHiGlassDataFetcher from './MyFancyNewHiGlassDataFetcher';
register(
{
dataFetcher: MyFancyNewHiGlassDataFetcher,
config: MyFancyNewHiGlassDataFetcher.config,
},
{
// The default pluginType is 'track', so specify 'dataFetcher' here.
pluginType: 'dataFetcher',
// Set to `true` if you want to override previously registered data fetcher that
// define the same data fetcher type.
force: false
}
);
v0.3.0
FAQs
HiGlass helper tool for registering pluggable tracks
The npm package higlass-register receives a total of 342 weekly downloads. As such, higlass-register popularity was classified as not popular.
We found that higlass-register 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.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.