
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.
vanilla-rough-notation
Advanced tools
A Vanilla Web Component port of the popular Rough Notation libary.
Demo page, if CodeSandbox is not working
For more documentation about animation types and more, visit the official repo
import 'vanilla-rough-notation';
<rough-notation showOnLoad type="highlight" color="#FF6d00">
<h2>WC Rough Notation</h2>
</rough-notation>
<rough-notation-group id="group-to-show">
<rough-notation type="highlight" color="lightyellow" order="3">
<h2>Rough notation group</h2>
</rough-notation>
<rough-notation type="underline" color="green" order="1">
<p>By wrapping multiple rough notation elements into a group,</p>
</rough-notation>
<rough-notation order="2">
<p>you can show them in animating in order</p>
</rough-notation>
</rough-notation-group>
| Property | Attribute | Type | Default |
|---|---|---|---|
animationDuration | animationDuration | number | 800 |
annotation | annotation | RoughAnnotation | undefined | |
color | color | string | "currentColor" |
noAnimation | noAnimation | boolean | false |
order | order | number | 0 |
padding | padding | number | 5 |
showOnLoad | showOnLoad | boolean | false |
strokeWidth | strokeWidth | number | 1 |
type | type | RoughAnnotationType | "underline" |
multiline | multiline | boolean | true |
brackets | brackets | `String | Array` |
iterations | iterations | number | 2 |
| Method | Type |
|---|---|
hide | (): void |
isShowing | (): boolean |
remove | (): void |
show | (): void |
| Property | Attribute | Type | Default |
|---|---|---|---|
annotationElements | annotationElements | WcRoughNotation[] | [] |
showOnLoad | showOnLoad | boolean | false |
| Method | Type |
|---|---|
show | (): void |
FAQs
A vanilla implementation of the Rough Notation library
The npm package vanilla-rough-notation receives a total of 12 weekly downloads. As such, vanilla-rough-notation popularity was classified as not popular.
We found that vanilla-rough-notation 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.