Skip to content

chanonroy/is-chanon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-chanon

NPM npm semantic-release

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.

Usage

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

Testing

Install dependencies

yarn

Run the Jest tests

yarn test

Contributing

Feel free to open up a PR and contribute to this great npm package.