makeItHeader Give it a string and it will add *** in start and end. like heading will be returned as *** heading *** Installation npm i makeItHeader --save Then... import {makeItHeader} from 'makeItHeader'; makeItHeader('Main Heading') Options It does not require any options