
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.
angular7-word-cloud
Advanced tools
To install this library, run:
$ npm install angular7-word-cloud --save
$ npm install d3 --save
// In your App's module:
imports: [
AgWordCloudModule.forRoot()
]
Then add add the script to .angular-cli.json
"scripts": [
***
"../node_modules/angular7-word-cloud/d3.min.js"
]
There are one directive for word cloud: ag-word-cloud
, to use it just add this block on your html file:
<div AgWordCloud
#word_cloud_chart=ag-word-cloud
[wordData]="word_cloud"
[options]="options">
</div>
// Create Work Cloud Data Array
wordData: Array<AgWordCloudData> = [// Words];
// Word Cloud Options
options = {
settings: {
minFontSize: 10,
maxFontSize: 100,
},
margin: {
top: 10,
right: 10,
bottom: 10,
left: 10
},
labels: true // false to hide hover labels
};
wordData
(Array<WordCloudData> | WordCloudData[]
) - set of words, it should be Array<WordCloudData>
and each object must have a text
and size
;
colors
(?Array<string> | string[]
) - data colors, will use default and|or random colors if not specified.
options
(?WordCloudOptions
) - word cloud options and there are two object you can pass it settings
and margin
.
setting
containes minFontSize
and maxFontSize
for word sets.margin
of canves top, left, bottom, right
, Default values is 10.labels
show Size label at the bottomwidth
and height
of canvas, the Default value for width is the width of the container, and the height equals the width * 0.75.
Please follow this guidelines when reporting bugs and feature requests:
Thanks for understanding!
MIT © [Raghvendra]
FAQs
this is word cloud package for the displaying the word in pattern
The npm package angular7-word-cloud receives a total of 22 weekly downloads. As such, angular7-word-cloud popularity was classified as not popular.
We found that angular7-word-cloud 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.