
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
small-tooltip
Advanced tools
Just a small tooltip for ES6 and/or React.

$ npm install small-tooltip
// just paste these few lines of code in your main file (index.js.. or app.js..)
// that's it, I will be always available in all the pages of your project!
// ..available for the dynamic elements as well..
import SmallTooltip from 'small-tooltip';
import 'small-tooltip/smallTooltip.css'; // <-- easy to customize
const smallTooltip = new SmallTooltip();
smallTooltip.init();
<!-- html ********** -->
<!-- insert <div id="small-tooltip"></div> somewhere on your main project file (index.js, app.js..), of course just one time! -->
<div id="small-tooltip"></div>
<!-- example of usage -->
<div data-tip="I'm a small tooltip">Move your mouse here to see me</div>
// simple javascript **********
// insert <div id="small-tooltip"></div> somewhere on your main project file (index.js, app.js..), of course just one time!
document.body.insertAdjacentHTML('beforeend', `<div id="small-tooltip"></div>`);
// example of usage
document.body.insertAdjacentHTML('beforeend', `
<i data-tip="I'm a lovely small tooltip!!">❤❤❤</i>
`);
// or React **********
function App() {
return (
<>
{
// insert <div id="small-tooltip"></div> somewhere on your main project file (index.js, app.js..), of course just one time!
<div id="small-tooltip"></div>
}
{
// example of usage
<h2 data-tip="I'm another small tooltip">Move your mouse here to see me as well!</h2>
}
</>
);
}
Just a example project where you can see small-tooltip in action..
Licensed under MIT
FAQs
Just a small tooltip for ES6 and/or React.
We found that small-tooltip 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.