
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.
widget-table
Advanced tools
This webcomponent follows the open-wc recommendation.
npm i widget-table
<script type="module">
import 'widget-table/widget-table.js';
</script>
<widget-table></widget-table>
The following format represents the available data :
data: {
settings: {
title: string,
subTitle: string,
minGauge: number,
maxGauge: number,
style: {
needleColor: string,
sections: number,
backgroundColor: string[]
}
}
gaugeValue: Number
}
interface InputData {
settings: Settings
gaugeValue: number
}
interface Settings {
title: string,
subTitle: string,
minGauge: number,
maxGauge: number,
style: Style
}
interface Style {
needleColor: string,
sections: number,
backgroundColor: string[]
}
The following options are available for styling the value graph.
The sections option splits the value area into by default three same sized sections. Therefore three different colors can be provided to the backgroundColor by default.
interface Style {
needleColor: string,
sections: number,
backgroundColor: string[]
}
To scan the project for linting and formatting errors, run
npm run lint
To automatically fix linting and formatting errors, run
npm run format
For most of the tools, the configuration is in the package.json to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
web-dev-servernpm start
To run a local development server that serves the basic demo located in demo/index.html
FAQs
REWidget widget-table
We found that widget-table 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
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.