
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
pro-widgets
Advanced tools
This library provides animated and highly customizable SVG widgets for use with IoT or other data visualization tasks. It has an easy to use interface as you will see in this description. See the library in action while reading the documentation and live-play with all the parameters.
This is currently in an early stage. API changes are likely. It follows semantic versioning.
Currently available widgets are Gauge, Digital Gauge, Linear Gauge, Analog Stick and Space Tracker. More widgets coming soon. Widget ideas/implementations/issue reporting/PRs welcome.
Install the library with
npm install pro-widgets
At first you have to import the ProModule
into the module
in which you want to use the widgets. For example in the
root module.
import { ProModule } from 'pro-widgets';
@NgModule({
import: [ProModule]
})
export class AppModule {}
You can import each widget manually by importing e.g. LinearGaugeModule
.
Use the widgets in your components template by
<pro-gauge [value]="stream$ | async"></pro-gauge>
<pro-digital-gauge></pro-digital-gauge>
<pro-analog-stick></pro-analog-stick>
<pro-linear-gauge></pro-linear-gauge>
<pro-space-tracker></pro-space-tracker>
See the docs to get to know the full list of input parameters for customizing the widgets to your needs.
Some widgets require a different shape of data input for the
value
input property. Most of them are requiring a primitive
number
or an array of numbers. The space-tracker requires
the following type
interface MultiDimensional {
[id: string]: number[];
}
Here is an overview of all widget value inputs
Widget | Value type |
---|---|
Gauge | number |
Digital Gauge | number |
Linear Gauge | number |
Analog Stick | number[2] |
Space Tracker | MultipleInputs |
Contributions in all forms are welcome. Widget ideas, feature requests, bug reports, etc. PR contributors will be mentioned in here.
Hi, I am Felix, Software developer and Angular, NgRX contributor
If you like this library, think about giving it a star or follow me on twitter or github or check out my personal the website.
FAQs
Responsive animated Angular SVG widgets
The npm package pro-widgets receives a total of 0 weekly downloads. As such, pro-widgets popularity was classified as not popular.
We found that pro-widgets 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.