0.0.2 • Published 2 years ago

next-tooltip v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

0.0.2

2 years ago

0.0.1

2 years ago