An open API service indexing awesome lists of open source software.

https://github.com/thehashton/random-title

NPM module that generates random titles
https://github.com/thehashton/random-title

javascript npm npm-package random-string random-title

Last synced: 3 months ago
JSON representation

NPM module that generates random titles

Awesome Lists containing this project

README

        

# **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.

```

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'
);

```

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

=> [NPM Module](https://www.npmjs.com/package/@hghazni/random-title)

=> [Harry Ghazni](http://www.hghazni.com)

![npm](https://img.shields.io/npm/v/@hghazni/random-title.svg) ![npm bundle size](https://img.shields.io/bundlephobia/min/@hghazni/random-title.svg)