Skip to content

thehashton/random-title

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Title

By Harry Ghazni / COPYRIGHT 2019

Generates a random selection out of a set of titles made by yourself.

npm i @hghazni/random-title

Configure it with as many strings as you want, I've used 3 as an example.

<script type="module">

import rtitle from './node_modules/@hghazni/random-title/index.js';

rtitle(
    //element ID you wish the title to go in
    {element: 'rtitle'},

    //string 1
    'Title numero 1',

    //string 2
    'Title numero 2',

    //string 3
    'Title numero 3'
);
</script>

=> https://github.com/hghazni/random-title

=> NPM Module

=> Harry Ghazni

npm npm bundle size

Releases

No releases published

Packages

No packages published