repeat-text Repeat the given string n times. Build with nan. Install # With npm npm i repeat-text How to use const stringRepeat = require('repeat-text'); stringRepeat('pizza', 3) // ~> 'pizzapizzapizza' stringRepeat('hey', 2) // ~> 'heyhey'