Last active
June 20, 2021 09:14
-
-
Save EmmanuelObua/d13722a804ffe6ad7cd640db1ad0c530 to your computer and use it in GitHub Desktop.
Instructions to publish to NPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Login in your terminal in the root directory. | |
npm login | |
//Now we are ready to publish our library. | |
npm publish | |
//Now install in any project for use. | |
npm i customised-jquery-obuae --save | |
//USAGE | |
import { $ } from 'customised-jquery-obuae'; | |
$('.color-text').greenify().size('15px') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment