1.0.6 • Published 3 years ago
npm-happy-birthday-package v1.0.6
Happy Birthday!
Setup
npm i npm-happy-birthday-package
Create a happy birthday server
var happyBirthday = require('npm-happy-birthday-package')
happyBirthday.server(3000)
//happyBirthday.server(port, cancelWords)
//Output: Server made at port 3000.
Create text in the server
var happyBirthday = require('npm-happy-birthday-package')
happyBirthday.makeText("This is an example.")
//happyBirthday.makeText(text, route)
Create some birthday text in the server
var happyBirthday = require('npm-happy-birthday-package')
happyBirthday.birthdayWords('', true)
//happyBirthday.birthdayWords(route, forBdayServer)
Create a birthday server
var happyBirthday = require('npm-happy-birthday-package')
happyBirthday.happyBdayServer(3000)
//happyBirthday.happyBdayServer(port)
//Output: Server made at port 3000.