UNPKG

thank-you-tweet-button-003

Version:

Easy-to-use tweet button for saying thank you to @oluwatobiss.

56 lines (35 loc) 1.14 kB
> **Note** > > This package is a project in the [Creating NPM Package book](https://amzn.to/4lifL3n). # Thank You Tweet Button 003 An easy-to-use tweet button for saying thank you to @oluwatobiss. This button auto-fills your tweet pop-up modal with a nicely worded thank you message. ## Features - A button that posts a thank you message ## Live Demo https://codesweetly.com ## Installation This section shows how to install the Thank You Tweet Button 003 package. ### Using npm ``` npm install thank-you-tweet-button-003 ``` ### Using yarn ``` yarn add thank-you-tweet-button-003 ``` ### Using pnpm ``` pnpm add thank-you-tweet-button-003 ``` ## Usage ```js import { tweetButton } from "thank-you-tweet-button-003"; document.YourDOMNode.appendChild(tweetButton()); ``` ## Dev Dependencies - [@babel/preset-env](https://babeljs.io/docs/babel-preset-env) - [commitlint](https://commitlint.js.org) - [Husky](https://github.com/typicode/husky) - [Jest](https://github.com/jestjs/jest) - [jest-environment-jsdom](https://www.npmjs.com/package/jest-environment-jsdom)