A simple stateless function to determine whether a string contains my name (Chanon) or not.
This is more of a parody module to help me test out best practices with CI/CD, npm publishing, and semantic versioning.
Install the package
yarn add is-chanon
Use the package as needed
const isChanon = require("is-chanon");
isChanon("Chanon"); // true
isChanon("chanon"); // true
isChanon("Charles"); // false
isChanon("channon"); // false
isChanon("matthew"); // false
Install dependencies
yarn
Run the Jest tests
yarn test
Feel free to open up a PR and contribute to this great npm package.