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: 7 months ago
JSON representation
NPM module that generates random titles
- Host: GitHub
- URL: https://github.com/thehashton/random-title
- Owner: thehashton
- License: mit
- Created: 2019-05-08T20:34:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-27T23:50:17.000Z (over 6 years ago)
- Last Synced: 2025-08-04T07:43:49.423Z (8 months ago)
- Topics: javascript, npm, npm-package, random-string, random-title
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
 