next-tooltip
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

NextTooltip

Tiny tooltip library

Edit new

⭐️ Features

  • Hybrid support - CommonJS and ESM modules
  • IIFE bundle for direct browser support without bundler
  • Typings bundle
  • ESLint - scripts linter
  • Stylelint - styles linter
  • Prettier - formatter
  • Jest - test framework
  • Husky + lint-staged - pre-commit git hook set up for formatting

📦 Getting Started

git clone https://github.com/lyove/next-tooltip.git
npm install

💎 npm

import NextTooltip from 'next-tooltip';
const tooltip = new NextTooltip();
...

🚀 cdn

<link rel="stylesheet" href="https://unpkg.com/next-tooltip@latest/dist/style.css">
<script src="https://unpkg.com/next-tooltip@latest/dist/next-tooltip.umd.js"></script>

const NextTooltip = window.NextTooltip;
const tooltip = new NextTooltip();
...

About

Package Sidebar

Install

npm i next-tooltip

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

36 kB

Total Files

8

Last publish

Collaborators

  • lyove