@kennyoliver/april-fools-tool
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

📅 april-fools-tool

Is it April Fool's? 🤔

Use this package to change your project's behavior if it's April Fool's! 😛

Be mischievous!


📦 Installation


$ npm i --save @kennyoliver/april-fools-tool

💡 Usage

👉 Require

const AFT = require("april-fools-tool");

Features

📅 AprilFoolsBool

Check if it's April Fool's (April 1st)

console.log(AFT.AprilFoolsBool);
📅 IsToday

This is a shorthand alias for AprilFoolsBool!

console.log(AFT.IsToday);
📝 AprilFoolsMsg()

A short message dependent on the value of AprilFoolsBool

console.log(AFT.AprilFoolsMsg());

🤝 Contributing!

If you'd like to contribute, feel free to make a PR!


Kenneth Oliver ©2022

Package Sidebar

Install

npm i @kennyoliver/april-fools-tool

Weekly Downloads

2

Version

1.1.3

License

AGPL-3.0-or-later

Unpacked Size

70 kB

Total Files

9

Last publish

Collaborators

  • kennyoliver